diff options
author | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 18:09:24 +0000 |
---|---|---|
committer | Richard Sandiford <rdsandiford@googlemail.com> | 2013-02-11 18:09:24 +0000 |
commit | 3dff0dd1e3b7170e2220cb12d3ed281af1b4ee3e (patch) | |
tree | a848c39af4c9c48d9925997ce0e1967e93fee0ea /ld/testsuite/ld-mips-elf | |
parent | d7206569910d947ce26af969afed889c856ebbec (diff) | |
download | gdb-3dff0dd1e3b7170e2220cb12d3ed281af1b4ee3e.zip gdb-3dff0dd1e3b7170e2220cb12d3ed281af1b4ee3e.tar.gz gdb-3dff0dd1e3b7170e2220cb12d3ed281af1b4ee3e.tar.bz2 |
bfd/
* elfxx-mips.c (mips_got_entry): Update comments.
(mips_elf_multi_got_entry_eq): Rename to...
(mips_elf_got_entry_eq): ...this, deleting the old definition.
(mips_elf_create_got_info): Remove master_got_p argument.
Always use mips_elf_got_entry_eq.
(mips_elf_bfd_got, mips_elf_multi_got, mips_elf_create_got_section):
Update calls accordingly.
ld/testsuite/
* ld-mips-elf/tlsdyn-o32-1.d, ld-mips-elf/tlsdyn-o32-1.got,
ld-mips-elf/tlsdyn-o32-2.d, ld-mips-elf/tlsdyn-o32-2.got,
ld-mips-elf/tlsdyn-o32-3.d, ld-mips-elf/tlsdyn-o32-3.got,
ld-mips-elf/tls-hidden3.d, ld-mips-elf/tls-hidden3.got: Update
for new hash table order.
Diffstat (limited to 'ld/testsuite/ld-mips-elf')
-rw-r--r-- | ld/testsuite/ld-mips-elf/tls-hidden3.d | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tls-hidden3.got | 8 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got | 14 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got | 10 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d | 12 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got | 10 |
8 files changed, 47 insertions, 47 deletions
diff --git a/ld/testsuite/ld-mips-elf/tls-hidden3.d b/ld/testsuite/ld-mips-elf/tls-hidden3.d index b627906..fda8f06 100644 --- a/ld/testsuite/ld-mips-elf/tls-hidden3.d +++ b/ld/testsuite/ld-mips-elf/tls-hidden3.d @@ -6,19 +6,19 @@ Disassembly of section \.text: # # The TLS entries are ordered as follows: # -# foo0 (-0x7ff0 + 0x20) +# foo3 (-0x7ff0 + 0x20) # foo1 (-0x7ff0 + 0x24) # foo2 (-0x7ff0 + 0x28) -# foo3 (-0x7ff0 + 0x2c) +# foo0 (-0x7ff0 + 0x2c) # # Any order would be acceptable, but it must match the .got dump. # 00080c00 <\.text>: - 80c00: 8f84801c lw a0,-32740\(gp\) + 80c00: 8f848028 lw a0,-32728\(gp\) 80c04: 8f848020 lw a0,-32736\(gp\) 80c08: 8f848024 lw a0,-32732\(gp\) - 80c0c: 8f848028 lw a0,-32728\(gp\) - 80c10: 8f84801c lw a0,-32740\(gp\) + 80c0c: 8f84801c lw a0,-32740\(gp\) + 80c10: 8f848028 lw a0,-32728\(gp\) 80c14: 8f848020 lw a0,-32736\(gp\) 80c18: 8f848024 lw a0,-32732\(gp\) - 80c1c: 8f848028 lw a0,-32728\(gp\) + 80c1c: 8f84801c lw a0,-32740\(gp\) diff --git a/ld/testsuite/ld-mips-elf/tls-hidden3.got b/ld/testsuite/ld-mips-elf/tls-hidden3.got index eb8258e..a0c180c 100644 --- a/ld/testsuite/ld-mips-elf/tls-hidden3.got +++ b/ld/testsuite/ld-mips-elf/tls-hidden3.got @@ -11,13 +11,13 @@ # # The order of the TLS entries is: # -# foo0 (offset 0x20) +# foo3 (offset 0x20) # foo1 (offset 0x24) # foo2 (offset 0x28) -# foo3 (offset 0x2c) +# foo0 (offset 0x2c) # # Any order would be acceptable, but it must match the .d dump. # Contents of section \.got: - 90000 00000000 80000000 00000000 0000abc0 .* - 90010 0000abc4 0000abc8 0000abcc .* + 90000 00000000 80000000 00000000 0000abcc .* + 90010 0000abc4 0000abc8 0000abc0 .* diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d index ac59165..77c210f 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.d @@ -12,19 +12,19 @@ Disassembly of section .text: .*: 03a0f021 move s8,sp .*: afbc0000 sw gp,0\(sp\) .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848028 addiu a0,gp,-32728 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848028 addiu a0,gp,-32728 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -33,7 +33,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) @@ -62,19 +62,19 @@ Disassembly of section .text: .*: 03a0f021 move s8,sp .*: afbc0000 sw gp,0\(sp\) .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848028 addiu a0,gp,-32728 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848028 addiu a0,gp,-32728 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -83,7 +83,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got index 427fc2f..fe06708 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-1.got @@ -4,15 +4,15 @@ DYNAMIC RELOCATION RECORDS OFFSET TYPE VALUE 00000000 R_MIPS_NONE \*ABS\* -10000030 R_MIPS_TLS_DTPMOD32 tlsbin_gd -10000034 R_MIPS_TLS_DTPREL32 tlsbin_gd -10000044 R_MIPS_TLS_DTPMOD32 tlsvar_gd -10000048 R_MIPS_TLS_DTPREL32 tlsvar_gd +10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd +1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd +1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd +10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd 10000040 R_MIPS_TLS_TPREL32 tlsvar_ie -1000002c R_MIPS_TLS_TPREL32 tlsbin_ie +10000034 R_MIPS_TLS_TPREL32 tlsbin_ie Contents of section .got: 10000020 00000000 80000000 004004ac 00000000 .........@...... - 10000030 00000000 00000000 00000001 00000000 ................ - 10000040 00000000 00000000 00000000 ............ + 10000030 00000000 00000000 00000000 00000000 ................ + 10000040 00000000 00000001 00000000 ............ diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d index 509483e..77c210f 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.d @@ -18,13 +18,13 @@ Disassembly of section .text: .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -33,7 +33,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) @@ -68,13 +68,13 @@ Disassembly of section .text: .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -83,7 +83,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got index 46ad88f..58502a7 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-2.got @@ -6,13 +6,13 @@ OFFSET TYPE VALUE 00000000 R_MIPS_NONE \*ABS\* 10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd 1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd -10000044 R_MIPS_TLS_DTPMOD32 tlsvar_gd -10000048 R_MIPS_TLS_DTPREL32 tlsvar_gd +1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd +10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd 10000040 R_MIPS_TLS_TPREL32 tlsvar_ie -1000002c R_MIPS_TLS_TPREL32 tlsbin_ie +10000034 R_MIPS_TLS_TPREL32 tlsbin_ie Contents of section .got: 10000020 00000000 80000000 004004ac 00000000 .* - 10000030 00000001 00000000 00000000 00000000 .* - 10000040 00000000 00000000 00000000 .* + 10000030 00000000 00000000 00000000 00000000 .* + 10000040 00000000 00000001 00000000 .* diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d index 2a1480a..5c1ffe4 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.d @@ -18,13 +18,13 @@ Disassembly of section .text: .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -33,7 +33,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) @@ -64,13 +64,13 @@ Disassembly of section .text: .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848034 addiu a0,gp,-32716 + .*: 2784801c addiu a0,gp,-32740 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) .*: 00000000 nop .*: 8f998018 lw t9,-32744\(gp\) - .*: 27848020 addiu a0,gp,-32736 + .*: 27848034 addiu a0,gp,-32716 .*: 0320f809 jalr t9 .*: 00000000 nop .*: 8fdc0000 lw gp,0\(s8\) @@ -79,7 +79,7 @@ Disassembly of section .text: .*: 24638000 addiu v1,v1,-32768 .*: 00621821 addu v1,v1,v0 .*: 7c02283b rdhwr v0,\$5 - .*: 8f83801c lw v1,-32740\(gp\) + .*: 8f838024 lw v1,-32732\(gp\) .*: 00000000 nop .*: 00621821 addu v1,v1,v0 .*: 8f838030 lw v1,-32720\(gp\) diff --git a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got index 5a7d608..9980d3c 100644 --- a/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got +++ b/ld/testsuite/ld-mips-elf/tlsdyn-o32-3.got @@ -6,13 +6,13 @@ OFFSET TYPE VALUE 00000000 R_MIPS_NONE \*ABS\* 10000038 R_MIPS_TLS_DTPMOD32 tlsbin_gd 1000003c R_MIPS_TLS_DTPREL32 tlsbin_gd -10000044 R_MIPS_TLS_DTPMOD32 tlsvar_gd -10000048 R_MIPS_TLS_DTPREL32 tlsvar_gd +1000002c R_MIPS_TLS_DTPMOD32 tlsvar_gd +10000030 R_MIPS_TLS_DTPREL32 tlsvar_gd 10000040 R_MIPS_TLS_TPREL32 tlsvar_ie -1000002c R_MIPS_TLS_TPREL32 tlsbin_ie +10000034 R_MIPS_TLS_TPREL32 tlsbin_ie Contents of section .got: 10000020 00000000 80000000 0040055c 00000000 .* - 10000030 00000001 00000000 00000000 00000000 .* - 10000040 00000000 00000000 00000000 .* + 10000030 00000000 00000000 00000000 00000000 .* + 10000040 00000000 00000001 00000000 .* |