mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
4005427f86
* elfxx-mips.c (mips_elf_initialize_tls_index): If a TLS symbol has already been assigned a GOT index, copy that index to the current hash table entry. ld/testsuite/ * ld-mips-elf/tls-hidden2a.s, ld-mips-elf/tls-hidden2b.s, * ld/testsuite/ld-mips-elf/tls-hidden2.d, * ld/testsuite/ld-mips-elf/tls-hidden2-got.d: New test. * ld-mips-elf/mips-elf.exp: Run it.
12 lines
185 B
ArmAsm
12 lines
185 B
ArmAsm
.text
|
|
lw $2,%gottprel(tls_hidden)($28)
|
|
|
|
.section .tdata,"awT"
|
|
.globl tls_hidden
|
|
.hidden tls_hidden
|
|
.type tls_hidden,@object
|
|
.size tls_hidden,4
|
|
.space 0xba8
|
|
tls_hidden:
|
|
.word 1
|