we decided to check for .interp instead of .dynamic
--HG-- extra : convert_revision : 4f5c7f9c7653e1e9ebbd488c07426d9f944bb25f
This commit is contained in:
parent
ddab4d756a
commit
3011fc6311
|
@ -370,7 +370,7 @@ ElfObject::isDynamic()
|
||||||
// While there are no more sections
|
// While there are no more sections
|
||||||
while (section != NULL) {
|
while (section != NULL) {
|
||||||
gelf_getshdr(section, &shdr);
|
gelf_getshdr(section, &shdr);
|
||||||
if (!strcmp(".dynamic", elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name)))
|
if (!strcmp(".interp", elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name)))
|
||||||
return true;
|
return true;
|
||||||
section = elf_getscn(elf, ++sec_idx);
|
section = elf_getscn(elf, ++sec_idx);
|
||||||
} // while sections
|
} // while sections
|
||||||
|
|
Loading…
Reference in a new issue