forked from OSchip/llvm-project
[llvm-objdump] - Fix comment. NFC.
Forgot to address this one. llvm-svn: 351418
This commit is contained in:
parent
6ce6bfa435
commit
ce5cafe595
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue