binutils-gdb/ld/testsuite/ld-plugin/pr22721a.s
H.J. Lu 8a1b824af7 x86: Check the versioned __tls_get_addr symbol
We need to check the versioned __tls_get_addr symbol when looking up
"__tls_get_addr".

bfd/

	PR ld/22721
	* elfxx-x86.c (_bfd_x86_elf_link_check_relocs): Check the
	versioned __tls_get_addr symbol.

ld/

	PR ld/22721
	* testsuite/ld-plugin/lto.exp: Run PR ld/22721 tests.
	* testsuite/ld-plugin/pr22721.t: New file.
	* testsuite/ld-plugin/pr22721a.s: Likewise.
	* testsuite/ld-plugin/pr22721b.c: Likewise.
2018-01-20 14:29:36 -08:00

9 lines
189 B
ArmAsm

.text
.globl __tls_get_addr
.globl ___tls_get_addr
.type __tls_get_addr,%function
.set ___tls_get_addr, __tls_get_addr
__tls_get_addr:
.byte 0
.size __tls_get_addr, .-__tls_get_addr