On Sat, Dec 12, 2020 at 11:38:55PM +0100, Mark Wielaard wrote: > 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 <m...@klomp.org> > --- > src/ChangeLog | 5 ++++ > src/elflint.c | 3 +++ > src/readelf.c | 2 ++ > tests/ChangeLog | 7 ++++++ > tests/Makefile.am | 2 ++ > tests/run-retain.sh | 44 ++++++++++++++++++++++++++++++++++++ > tests/testfile-retain.o.bz2 | Bin 0 -> 261 bytes > 7 files changed, 63 insertions(+) > create mode 100755 tests/run-retain.sh > create mode 100644 tests/testfile-retain.o.bz2
LGTM, thanks, -- ldv