mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-18 14:53:32 +08:00
8a1b824af7
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.
9 lines
189 B
ArmAsm
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
|