diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2010-01-11 14:45:42 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2010-01-11 14:45:42 +0000 |
commit | 2c610e4b46f46d5ca5aa0982051791dcbea0f67e (patch) | |
tree | f368a4cf5e4d6dc6609537e4b11f30e69da56a03 /ld/testsuite | |
parent | 4d421096e0d5a63190fa79e721a06c4e943f599f (diff) | |
download | gdb-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 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-elf/dynsym1.d | 8 |
2 files changed, 13 insertions, 0 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 24ab471..51783a6 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2010-01-11 H.J. Lu <hongjiu.lu@intel.com> + + PR ld/11146 + * ld-elf/dynsym1.d: New. + 2010-01-07 H.J. Lu <hongjiu.lu@intel.com> PR ld/11138 diff --git a/ld/testsuite/ld-elf/dynsym1.d b/ld/testsuite/ld-elf/dynsym1.d new file mode 100644 index 0000000..88037ef --- /dev/null +++ b/ld/testsuite/ld-elf/dynsym1.d @@ -0,0 +1,8 @@ +#source: empty.s +#ld: -shared +#readelf: --dyn-syms +#target: *-*-linux* + +#... + +[0-9]+: +[0-9a-f]+ +[0-9]+ +FUNC +GLOBAL +DEFAULT +[1-9] _start +#pass |