unstrip: Handle SHT_GROUP sections in ET_REL files.
authorMark Wielaard <mark@klomp.org>
Sat, 21 Jul 2018 21:40:11 +0000 (23:40 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 27 Jul 2018 12:09:21 +0000 (14:09 +0200)
commit98ec9737922faef025ab10de15b9a653f46eaf53
tree5f5d88241827a49de5b48096089d660f63e9ddd6
parented62996defc619d0def86a5ed223a48486b97a70
unstrip: Handle SHT_GROUP sections in ET_REL files.

SHT_GROUP sections are put in both the stripped and debug file.
Handle correcting the symbol table/name entry of the group only once.

The testfile was generated with the gcc annobin plugin.

Signed-off-by: Mark Wielaard <mark@klomp.org>
src/ChangeLog
src/unstrip.c
tests/ChangeLog
tests/Makefile.am
tests/run-annobingroup.sh [new file with mode: 0755]
tests/testfile-annobingroup.o.bz2 [new file with mode: 0644]