Re: [PATCH] readelf: Use shstrndx to lookup section names.

2018-10-26 Thread Mark Wielaard
On Wed, 2018-10-24 at 16:01 +0200, Mark Wielaard wrote: > 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. Pushed to master.

[PATCH] readelf: Use shstrndx to lookup section names.

2018-10-24 Thread Mark Wielaard
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 --- src/ChangeLog | 21 +++ src/readelf.c | 82 +++