binutils-gdb/binutils/testsuite/binutils-all/nm-ver.s
Nick Clifton df2c87b580 Add the ability for nm to display symbol version information.
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.
2016-11-11 11:49:45 +00:00

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