bfd/
authorRichard Sandiford <rdsandiford@googlemail.com>
Sat, 4 Feb 2006 08:29:58 +0000 (08:29 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Sat, 4 Feb 2006 08:29:58 +0000 (08:29 +0000)
commit4005427f8676ad78c88b430fa25e1d179207cbf4
treed556895326fe00b51acacc76b377a748bd5b1536
parent2f2817dbdadb8ed4b2e201b63416157c72979cd5
bfd/
* 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.
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/tls-hidden2-got.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden2.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden2a.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden2b.s [new file with mode: 0644]