+2022-10-28 Arsen Arsenović <arsen@aarsen.me>
+
+ * readelf.1: Document the --syms alias.
+
2022-10-18 Daniel Thornburgh <dthorn@google.com>
* debuginfod_find_debuginfo.3: Document DEBUGINFOD_HEADERS_FILE.
[\fB\-S\fR|\fB\-\-section\-headers\fR|\fB\-\-sections\fR]
[\fB\-g\fR|\fB\-\-section\-groups\fR]
[\fB\-e\fR|\fB\-\-exception\fR]
- [\fB\-s\fR|\fB\-\-symbols\fR] [section name] ]
+ [\fB\-\-syms\fR|\fB\-s\fR|\fB\-\-symbols\fR [section name] ]
[\fB\-\-dyn-syms\fR]
[\fB\-n\fR|\fB\-\-notes\fR [section name] ]
[\fB\-r\fR|\fB\-\-relocs\fR]
.IP "\fB\-s\fR" 4
.IX Item "-s"
.PD 0
+.IP "\fB\--syms\fR" 4
+.IX Item "--syms"
+.PD 0
.IP "\fB\-\-symbols\fR [section name]" 4
.IX Item "--symbols"
.PD
+2022-10-28 Arsen Arsenović <arsen@aarsen.me>
+
+ * readelf.c (options): Add Binutils-style --syms alias.
+
2022-10-19 Mark Wielaard <mark@klomp.org>
* readelf.c (dwarf_loc_list_encoding_string): Handle
{ "sections", 'S', NULL, OPTION_ALIAS | OPTION_HIDDEN, NULL, 0 },
{ "symbols", 's', "SECTION", OPTION_ARG_OPTIONAL,
N_("Display the symbol table sections"), 0 },
+ { "syms", 's', NULL, OPTION_ALIAS | OPTION_HIDDEN, NULL, 0 },
{ "dyn-syms", PRINT_DYNSYM_TABLE, NULL, 0,
N_("Display (only) the dynamic symbol table"), 0 },
{ "version-info", 'V', NULL, 0, N_("Display versioning information"), 0 },
+2022-10-28 Arsen Arsenović <arsen@aarsen.me>
+
+ * run-readelf-s.sh: Add tests for the --syms alias.
+
2022-10-27 Mark Wielaard <mark@klomp.org>
* backtrace-subr.sh: Use grep -E instead of egrep, use grep -F
cat testfile.dynsym.in testfile.symtab.in \
| testrun_compare ${abs_top_builddir}/src/readelf -s testfilebaztab
+cat testfile.dynsym.in testfile.symtab.in \
+ | testrun_compare ${abs_top_builddir}/src/readelf --syms testfilebaztab
+
# Display just .dynsym
cat testfile.dynsym.in \
| testrun_compare ${abs_top_builddir}/src/readelf \
--symbols=.dynsym testfilebaztab
+cat testfile.dynsym.in \
+ | testrun_compare ${abs_top_builddir}/src/readelf \
+ --syms=.dynsym testfilebaztab
cat testfile.dynsym.in \
| testrun_compare ${abs_top_builddir}/src/readelf \
--dyn-syms testfilebaztab