* elfxx-mips.c (mips_got_entry): Add more commentary.
commit80c0b81ff793936b25d9001a82cd28a7d07fa950
authorRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 27 Mar 2006 11:30:54 +0000 (27 11:30 +0000)
committerRichard Sandiford <rsandifo@nildram.co.uk>
Mon, 27 Mar 2006 11:30:54 +0000 (27 11:30 +0000)
treeb3331d7f4d0f9c65f93acd27b391c4c1c0a9ffa3
parent542d707abcb145a1f510064bf910fa5c0df86c69
* elfxx-mips.c (mips_got_entry): Add more commentary.
(mips_elf_local_got_index): Use the hash table entry to record
the GOT index of forced-local symbols.
(mips_elf_initialize_tls_index): Rearrange code.  Store the index
in either the hash table entry or the mips_got_entry, not both.
Add more commentary.
(mips_elf_multi_got): Make sure the g->next is nonnull when calling
mips_elf_initialize_tls_index.

* ld-mips-elf/tls-hidden3a.s, ld-mips-elf/tls-hidden3b.s,
* ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got,
* ld-mips-elf/tls-hidden3.ld, ld-mips-elf/tls-hidden3.r,
* ld-mips-elf/tls-hidden4a.s, ld-mips-elf/tls-hidden4b.s,
* ld-mips-elf/tls-hidden4.got, ld-mips-elf/tls-hidden4.r: New tests.
* ld-mips-elf/mips-elf.exp: Run them.
14 files changed:
bfd/ChangeLog
bfd/elfxx-mips.c
ld/testsuite/ChangeLog
ld/testsuite/ld-mips-elf/mips-elf.exp
ld/testsuite/ld-mips-elf/tls-hidden3.d [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden3.got [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden3.ld [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden3.r [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden3a.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden3b.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden4.got [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden4.r [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden4a.s [new file with mode: 0644]
ld/testsuite/ld-mips-elf/tls-hidden4b.s [new file with mode: 0644]