* 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.
2006-03-27 11:30:54 +00:00
|
|
|
|
|
|
|
Relocation section '\.rel\.dyn' at offset .* contains .* entries:
|
|
|
|
Offset Info Type Sym\.Value Sym\. Name
|
|
|
|
00000000 00000000 R_MIPS_NONE
|
|
|
|
#
|
|
|
|
# The order and addresses of the next eight entries don't matter. The
|
|
|
|
# important thing is that there is exactly one entry per GOT TLS slot
|
|
|
|
# and that the addresses match those in the .got dump.
|
|
|
|
#
|
|
|
|
001c4080 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001c4084 0000002f R_MIPS_TLS_TPREL3
|
2006-10-19 13:47:10 +00:00
|
|
|
001c4088 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001c408c 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001d00cc 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001d00d0 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001d00d4 0000002f R_MIPS_TLS_TPREL3
|
|
|
|
001d00d8 0000002f R_MIPS_TLS_TPREL3
|
* 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.
2006-03-27 11:30:54 +00:00
|
|
|
.* R_MIPS_REL32 .*
|
|
|
|
#pass
|