This is the mail archive of the
elfutils-devel@sourceware.org
mailing list for the elfutils project.
Re: [PATCH] readelf: Add optional --symbols[=SECTION] argument to select section name.
- From: Mark Wielaard <mjw at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Fri, 18 Nov 2016 14:16:50 +0100
- Subject: Re: [PATCH] readelf: Add optional --symbols[=SECTION] argument to select section name.
On Thu, 2016-11-17 at 15:45 +0100, Florian Weimer wrote:
> On 11/17/2016 03:23 PM, Mark Wielaard wrote:
> > +2016-11-17 Mark Wielaard <mjw@redhat.com>
> > +
> > + * readelf.c (options): Add optional arg SECTION for symbols.
> > + (symbol_table_section): New static variable.
> > + (parse_opt): Set symbol_table_section on 's'.
> > + (print_symtab): Filter on symbol_table_section name is set.
>
> I tested it and it does what I want. Thanks!
Thanks for testing. Pushed to master.