mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
df2c87b580
PR binutils/20751 * nm.c (with_symbol_versions): New local variable. (long_options): Add --with-symbol-versions. (usage): Mention --with-symbol-versions. (print_symbol): If with_symbol_versions is set then display the version information associated with the symbol. * NEWS: Mention the new feature. * doc/binutils.texi (nm): Document the new option. (objdump): Describe how symbol version information is displayed for dynamic symbol dumps. (readelf): Describe how symbol version information is displayed. * testsuite/binutils-all/nm.exp: Add a test of the new feature.
10 lines
126 B
ArmAsm
10 lines
126 B
ArmAsm
.symver foo_old,foo@VER_1
|
|
.hidden foo_old
|
|
foo_old:
|
|
.dc.b 0
|
|
|
|
.symver foo_new,foo@@VER_2
|
|
.global foo_new
|
|
foo_new:
|
|
.dc.b 0
|