diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-08-10 05:17:28 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-08-10 05:17:41 -0700 |
commit | 9b0ac51b22d0cf900f39e17e615bb22e32720f6e (patch) | |
tree | 39644cd7c9bdaf1c6d530f22c56d9c21c422d8d1 /binutils/doc/binutils.texi | |
parent | 40f3419a8150eac5855ef89bc2ce3532b0372e57 (diff) | |
download | gdb-9b0ac51b22d0cf900f39e17e615bb22e32720f6e.zip gdb-9b0ac51b22d0cf900f39e17e615bb22e32720f6e.tar.gz gdb-9b0ac51b22d0cf900f39e17e615bb22e32720f6e.tar.bz2 |
nm: Remove --with-symbol-versions
Since
commit 7e6e972f74aeac0ebdbd95a7f905d871cd2581de
Author: H.J. Lu <hjl.tools@gmail.com>
Date: Tue Mar 24 04:23:11 2020 -0700
bfd: Display symbol version for nm -D
always displays symbol version for nm, remove --with-symbol-versions and
silently accept it for backward compatibility.
binutils/
PR binutils/26302
* nm.c (with_symbol_versions): Removed.
(long_option_values): Add OPTION_WITH_SYMBOL_VERSIONS.
(long_options): Update --with-symbol-versions entry.
(print_symbol): Remove the with_symbol_versions check.
(main): Add OPTION_WITH_SYMBOL_VERSIONS for backward
compatibility.
* doc/binutils.texi: Remove --with-symbol-versions.
ld/
PR binutils/26302
* testsuite/ld-elf/pr26302.nd: New file.
* testsuite/ld-elf/pr26302.ver: Likewise.
* testsuite/ld-elf/pr26302a.c: Likewise.
* testsuite/ld-elf/pr26302b.c: Likewise.
* testsuite/ld-elf/shared.exp: Run binutils/26302 tests.
Diffstat (limited to 'binutils/doc/binutils.texi')
-rw-r--r-- | binutils/doc/binutils.texi | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index 4a11bf1..0822b5c 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -796,7 +796,7 @@ nm [@option{-A}|@option{-o}|@option{--print-file-name}] [@option{-a}|@option{--d [@option{--plugin} @var{name}] [@option{--no-recurse-limit}|@option{--recurse-limit}]] [@option{--size-sort}] [@option{--special-syms}] - [@option{--synthetic}] [@option{--with-symbol-versions}] [@option{--target=}@var{bfdname}] + [@option{--synthetic}] [@option{--target=}@var{bfdname}] [@var{objfile}@dots{}] @c man end @end smallexample @@ -1130,14 +1130,6 @@ Include synthetic symbols in the output. These are special symbols created by the linker for various purposes. They are not shown by default since they are not part of the binary's original source code. -@item --with-symbol-versions -Enables the display of symbol version information if any exists. The -version string is displayed as a suffix to the symbol name, preceded by -an @@ character. For example @samp{foo@@VER_1}. If the version is -the default version to be used when resolving unversioned references -to the symbol then it is displayed as a suffix preceded by two @@ -characters. For example @samp{foo@@@@VER_2}. - @item --target=@var{bfdname} @cindex object code format Specify an object code format other than your system's default format. |