Re: [PATCH] unstrip: Handle SHT_GROUP sections in ET_REL files.

2018-07-27 Thread Mark Wielaard
On Sat, 2018-07-21 at 23:54 +0200, Mark Wielaard wrote: > SHT_GROUP sections are put in both the stripped and debug file. > Handle correcting the symbol table/name entry of the group only once. Pushed to master.

Re: [PATCH] unstrip: Also check sh_size in compare_unalloc_sections.

2018-07-27 Thread Mark Wielaard
On Wed, 2018-07-25 at 00:15 +0200, Mark Wielaard wrote: > compare_unalloc_sections only checked sh_flags and the section names. > This would cause stripped/debug section mismatches when there were > multiple sections with the same name and flags. Fix this by also > checking the size of the section

[COMMITTED] libelf: Fix documentation of elf_getshdrstrndx and elf_getshstrndx.

2018-07-27 Thread Mark Wielaard
Because of copy/paste error part of the documentation for elf_getshdrstrndx and elf_getshstrndx was actually for elf_getshdrnum and elf_getshnum. Fix it to refer to the proper ehdr field and deprecated function name. Signed-off-by: Mark Wielaard --- libelf/ChangeLog | 5 + libelf/libelf.h |