[PATCH 2/2] Handle SHF_GNU_RETAIN in eu-readelf and eu-elflint.

Mark Wielaard mark@klomp.org
Wed Dec 16 18:53:39 GMT 2020


On Wed, Dec 16, 2020 at 01:49:30PM +0300, Dmitry V. Levin wrote:
> 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 <mark@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,

Thanks, pushed.


More information about the Elfutils-devel mailing list