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: Florian Weimer <fweimer at redhat dot com>
- To: elfutils-devel at lists dot fedorahosted dot org
- Date: Thu, 17 Nov 2016 15:45:01 +0100
- Subject: Re: [PATCH] readelf: Add optional --symbols[=SECTION] argument to select section name.
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!
Florian