old-cross-binutils/ld/testsuite/ld-elf/pr19698.t
H.J. Lu 0f550b3df1 Update symbol version for symbol from linker script
We need to update symbol version for symbols from linker script.

bfd/

	PR ld/19698
	* elflink.c (bfd_elf_record_link_assignment): Set versioned if
	symbol version is unknown.

ld/

	PR ld/19698
	* testsuite/ld-elf/pr19698.d: New file.
	* testsuite/ld-elf/pr19698.s: Likewise.
	* testsuite/ld-elf/pr19698.t: Likewise.
2016-02-24 15:13:48 -08:00

11 lines
77 B
Raku

"foo@VERS.1" = foo;
VERSION {
VERS.2 {
global:
foo;
};
VERS.1 {
};
}