]> git.ipfire.org Git - thirdparty/elfutils.git/commit
Handle SHF_GNU_RETAIN in eu-readelf and eu-elflint.
authorMark Wielaard <mark@klomp.org>
Sat, 12 Dec 2020 22:36:15 +0000 (23:36 +0100)
committerMark Wielaard <mark@klomp.org>
Wed, 16 Dec 2020 18:44:47 +0000 (19:44 +0100)
commit84f1daf1294a98a8909b153f2810d4e7e449e38c
tree8af431a8bc3f5a1d372f1eaebb0eb0148868746e
parentfd119923a0706b1f1c40c58aba1a9e59faa69a79
Handle SHF_GNU_RETAIN in eu-readelf and eu-elflint.

readelf -S now shows 'R' when SHF_GNU_RETAIN is set.
elflint accepts SHF_GNU_RETAIN when set on section in --gnu mode.

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