]> git.ipfire.org Git - thirdparty/elfutils.git/commit
readelf: Add --dyn-sym option.
authorMark Wielaard <mark@klomp.org>
Mon, 2 Sep 2019 22:03:22 +0000 (00:03 +0200)
committerMark Wielaard <mark@klomp.org>
Tue, 10 Sep 2019 13:45:53 +0000 (15:45 +0200)
commit08986c35d7bee335f447f542918bbbc2bdd638a9
tree3caab495fb05ad5bd1a33b091a608c45e0bea8ac
parentb833c731359af12af9f16bcb621b3cdc170eafbc
readelf: Add --dyn-sym option.

It is already possible to select the symbol table to print by name,
using --symbols=SECTION. This allows printing the dynamic symbol table
with --symbols=.dynsym. binutils readelf allows printing just the
dynamic symbol table by type using --dyn-sym. Add the same option
and document it. Also add a testcase to show --symbols=.dynsym and
--dyn-sym produce the same output.

Signed-off-by: Mark Wielaard <mark@klomp.org>
doc/ChangeLog
doc/readelf.1
src/ChangeLog
src/readelf.c
tests/ChangeLog
tests/run-readelf-s.sh