[llvm-objdump] - Fix comment. NFC.

Forgot to address this one.

llvm-svn: 351418
This commit is contained in:
George Rimar 2019-01-17 09:14:33 +00:00
parent 6ce6bfa435
commit ce5cafe595
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ static std::error_code getRelocationValueString(const ELFObjectFile<ELFT> *Obj,
// requires the relocation to be associated with a symbol. // requires the relocation to be associated with a symbol.
// //
// In SHT_REL case we would need to read the addend from section data. // In SHT_REL case we would need to read the addend from section data.
// GNU objdump does not do that and we just follow for simplicity atm. // GNU objdump does not do that and we just follow for simplicity.
bool Undef = false; bool Undef = false;
if ((*SecOrErr)->sh_type == ELF::SHT_RELA) { if ((*SecOrErr)->sh_type == ELF::SHT_RELA) {
const Elf_Rela *ERela = Obj->getRela(Rel); const Elf_Rela *ERela = Obj->getRela(Rel);