commit | 35197ea4c43ef2101b06e03ef6b3c6778bd986bc | [log] [tgz] |
---|---|---|
author | Mark Wielaard <mark@klomp.org> | Wed Oct 24 15:59:32 2018 +0200 |
committer | Mark Wielaard <mark@klomp.org> | Wed Oct 24 15:59:32 2018 +0200 |
tree | 22f8646ee47da087082ac7aa45d5e2029e486397 | |
parent | 9a74c190a2b357c6318e6222ff08c5bcee2f9291 [diff] |
readelf: Use shstrndx to lookup section names. The function section_name would use the Ehdr e_shstrndx field to find the index of the section index string table directly. But it should use elf_getshdrstrndx. Adjust all callers. Signed-off-by: Mark Wielaard <mark@klomp.org>