summaryrefslogtreecommitdiff
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2019-09-03 00:03:22 +0200
committerMark Wielaard <mark@klomp.org>2019-09-10 15:45:53 +0200
commit08986c35d7bee335f447f542918bbbc2bdd638a9 (patch)
tree3caab495fb05ad5bd1a33b091a608c45e0bea8ac /src/ChangeLog
parentb833c731359af12af9f16bcb621b3cdc170eafbc (diff)
downloadelfutils-08986c35d7bee335f447f542918bbbc2bdd638a9.tar.gz
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>
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a945c429..3007c30d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,11 @@
+2019-09-02 Mark Wielaard <mark@klomp.org>
+
+ * readelf.c (PRINT_DYNSYM_TABLE): New argp key value.
+ (argp_opt): Add syn-sym.
+ (print_dynsym_table): New static bool.
+ (parse_opt): Handle PRINT_DYNSYM_TABLE.
+ (process_elf_file): Check print_dynsym_table.
+
2019-08-27 Mark Wielaard <mark@klomp.org>
* readelf.c (for_each_section_argument): Call (*dump) also for