binutils-gdb/ld/testsuite/ld-elf/pr27128.s
Alan Modra cab3f4da68 PR27128, nm -P portable output format regression
binutils/
	PR 27128
	* nm.c (print_symname): Append version string to symbol name
	before printing the lot under control of "form".  Append version
	to demangled names too.
ld/
	PR 27128
	* testsuite/ld-elf/pr27128.s: New file.
	* testsuite/ld-elf/pr27128.t: Likewise.
	* testsuite/ld-elf/pr27128a.d: Likewise.
	* testsuite/ld-elf/pr27128b.d: Likewise.
	* testsuite/ld-elf/pr27128c.d: Likewise.
	* testsuite/ld-elf/pr27128d.d: Likewise.
	* testsuite/ld-elf/pr27128e.d: Likewise.
2020-12-31 19:07:02 +10:30

14 lines
244 B
ArmAsm

.text
.globl foo
.type foo,%function
foo:
.space 16
.size foo, .-foo
.symver foo,foo@@VERS_2.0,remove
.globl _Zrm1XS_
.type _Zrm1XS_,%function
_Zrm1XS_:
.space 16
.size _Zrm1XS_, .-_Zrm1XS_
.symver _Zrm1XS_,_Zrm1XS_@@VERS_2.0,remove