aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2010-01-11 14:45:42 +0000
committerH.J. Lu <hjl.tools@gmail.com>2010-01-11 14:45:42 +0000
commit2c610e4b46f46d5ca5aa0982051791dcbea0f67e (patch)
treef368a4cf5e4d6dc6609537e4b11f30e69da56a03 /binutils/doc
parent4d421096e0d5a63190fa79e721a06c4e943f599f (diff)
downloadgdb-2c610e4b46f46d5ca5aa0982051791dcbea0f67e.zip
gdb-2c610e4b46f46d5ca5aa0982051791dcbea0f67e.tar.gz
gdb-2c610e4b46f46d5ca5aa0982051791dcbea0f67e.tar.bz2
Add --dyn-syms to readelf
binutils/ 2010-01-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/11146 * NEWS: Mention --dyn-syms for readelf. * readelf.c (do_dyn_syms): New. (OPTION_DYN_SYMS): Likewise. (options): Add "dyn-syms". (usage): Add --dyn-syms. (parse_args): Handle OPTION_DYN_SYMS. (process_symbol_table): Handle do_dyn_syms. (process_object): Likewise. (process_archive): Likewise. * doc/binutils.texi: Document --dyn-syms for readelf. Mention symbol hash tables for -D. ld/testsuite/ 2010-01-11 H.J. Lu <hongjiu.lu@intel.com> PR ld/11146 * ld-elf/dynsym1.d: New.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi10
1 files changed, 8 insertions, 2 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index aedb80f..b0df698 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -3894,6 +3894,7 @@ readelf [@option{-a}|@option{--all}]
[@option{-t}|@option{--section-details}]
[@option{-e}|@option{--headers}]
[@option{-s}|@option{--syms}|@option{--symbols}]
+ [@option{--dyn-syms}]
[@option{-n}|@option{--notes}]
[@option{-r}|@option{--relocs}]
[@option{-u}|@option{--unwind}]
@@ -3982,6 +3983,11 @@ Displays the detailed section information. Implies @option{-S}.
@cindex ELF symbol table information
Displays the entries in symbol table section of the file, if it has one.
+@item --dyn-syms
+@cindex ELF dynamic symbol table information
+Displays the entries in dynamic symbol table section of the file, if it
+has one.
+
@item -e
@itemx --headers
Display all the headers in the file. Equivalent to @option{-h -l -S}.
@@ -4021,8 +4027,8 @@ is any.
@item -D
@itemx --use-dynamic
When displaying symbols, this option makes @command{readelf} use the
-symbol table in the file's dynamic section, rather than the one in the
-symbols section.
+symbol hash tables in the file's dynamic section, rather than the
+symbol table sections.
@item -x <number or name>
@itemx --hex-dump=<number or name>