diff options
Diffstat (limited to 'ld/testsuite')
-rw-r--r-- | ld/testsuite/ChangeLog | 16 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/jalx-2.dd | 31 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd | 3 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d | 2 | ||||
-rw-r--r-- | ld/testsuite/ld-mips-elf/tlslib-o32.d | 3 |
13 files changed, 49 insertions, 27 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index f205bf5..dce58ad 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,19 @@ +2013-06-24 Maciej W. Rozycki <macro@codesourcery.com> + + * ld-mips-elf/jalx-2.dd: Update for microMIPS PLT support. + * ld-mips-elf/pic-and-nonpic-3a.dd: Update for the _MIPS_STUBS_ + magic symbol. + * ld-mips-elf/pic-and-nonpic-3b.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n32.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-n64.dd: Likewise. + * ld-mips-elf/pic-and-nonpic-6-o32.dd: Likewise. + * ld-mips-elf/stub-dynsym-1-10000.d: Likewise. + * ld-mips-elf/stub-dynsym-1-2fe80.d: Likewise. + * ld-mips-elf/stub-dynsym-1-7fff.d: Likewise. + * ld-mips-elf/stub-dynsym-1-8000.d: Likewise. + * ld-mips-elf/stub-dynsym-1-fff0.d: Likewise. + * ld-mips-elf/tlslib-o32.d: Likewise. + 2013-06-19 Will Newton <will.newton@linaro.org> * ld-aarch64/aarch64-elf.exp: Remove ifunc tests. diff --git a/ld/testsuite/ld-mips-elf/jalx-2.dd b/ld/testsuite/ld-mips-elf/jalx-2.dd index abbae8b..8119ab4 100644 --- a/ld/testsuite/ld-mips-elf/jalx-2.dd +++ b/ld/testsuite/ld-mips-elf/jalx-2.dd @@ -28,8 +28,8 @@ Disassembly of section \.text: 4400034: f89e 0020 sw a0,32\(s8\) 4400038: f8be 0024 sw a1,36\(s8\) 440003c: 41a2 0440 lui v0,0x440 - 4400040: 3082 02a0 addiu a0,v0,672 - 4400044: f110 0028 jalx 44000a0 <printf@plt> + 4400040: 3082 0290 addiu a0,v0,656 + 4400044: f620 004c jal 4400098 <printf@micromipsplt> 4400048: 0000 0000 nop 440004c: f620 0010 jal 4400020 <internal_function> 4400050: 0000 0000 nop @@ -44,17 +44,18 @@ Disassembly of section \.text: Disassembly of section \.plt: 04400080 <_PROCEDURE_LINKAGE_TABLE_>: - 4400080: 3c1c0440 lui gp,0x440 - 4400084: 8f9900d8 lw t9,216\(gp\) - 4400088: 279c00d8 addiu gp,gp,216 - 440008c: 031cc023 subu t8,t8,gp - 4400090: 03e07821 move t7,ra - 4400094: 0018c082 srl t8,t8,0x2 - 4400098: 0320f809 jalr t9 - 440009c: 2718fffe addiu t8,t8,-2 + 4400080: 7980 0012 addiu v1,\$pc,72 + 4400084: ff23 0000 lw t9,0\(v1\) + 4400088: 0535 subu v0,v0,v1 + 440008a: 2525 srl v0,v0,2 + 440008c: 3302 fffe addiu t8,v0,-2 + 4400090: 0dff move t7,ra + 4400092: 45f9 jalrs t9 + 4400094: 0f83 move gp,v1 + 4400096: 0c00 nop -044000a0 <printf@plt>: - 44000a0: 3c0f0440 lui t7,0x440 - 44000a4: 8df900e0 lw t9,224\(t7\) - 44000a8: 03200008 jr t9 - 44000ac: 25f800e0 addiu t8,t7,224 +04400098 <printf@micromipsplt>: + 4400098: 7900 000e addiu v0,\$pc,56 + 440009c: ff22 0000 lw t9,0\(v0\) + 44000a0: 4599 jr t9 + 44000a2: 0f02 move t8,v0 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd index cb72980..b37a593 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3a.dd @@ -31,7 +31,7 @@ Disassembly of section \.text: #... Disassembly of section \.MIPS\.stubs: -00000c00 <.MIPS.stubs>: +00000c00 <_MIPS_STUBS_>: c00: 8f998010 lw t9,-32752\(gp\) c04: 03e07821 move t7,ra c08: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd index dd1d1b0..da79012 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-3b.dd @@ -42,9 +42,10 @@ Disassembly of section \.text: .*: 03200008 jr t9 .*: 00000000 nop .*: 00000000 nop -Disassembly of section .MIPS.stubs: -00044030 <\.MIPS\.stubs>: +Disassembly of section \.MIPS\.stubs: + +00044030 <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd index fd76d86..dfab46c 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n32.dd @@ -91,9 +91,10 @@ Disassembly of section \.text: 44090: 3c02000a lui v0,0xa 44094: 24422018 addiu v0,v0,8216 \.\.\. + Disassembly of section \.MIPS\.stubs: -000440a0 <\.MIPS\.stubs>: +000440a0 <_MIPS_STUBS_>: 440a0: 8f998010 lw t9,-32752\(gp\) 440a4: 03e07821 move t3,ra 440a8: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd index 864fbbb..287e558 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-n64.dd @@ -91,9 +91,10 @@ Disassembly of section \.text: 44090: 3c02000a lui v0,0xa 44094: 24422018 addiu v0,v0,8216 \.\.\. + Disassembly of section \.MIPS\.stubs: -0+440a0 <\.MIPS\.stubs>: +0+440a0 <_MIPS_STUBS_>: 440a0: df998010 ld t9,-32752\(gp\) 440a4: 03e0782d move t3,ra 440a8: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd index ba6ab0f..5002d52 100644 --- a/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd +++ b/ld/testsuite/ld-mips-elf/pic-and-nonpic-6-o32.dd @@ -91,9 +91,10 @@ Disassembly of section \.text: 44090: 3c02000a lui v0,0xa 44094: 24422018 addiu v0,v0,8216 \.\.\. + Disassembly of section \.MIPS\.stubs: -000440a0 <\.MIPS\.stubs>: +000440a0 <_MIPS_STUBS_>: 440a0: 8f998010 lw t9,-32752\(gp\) 440a4: 03e07821 move t7,ra 440a8: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d b/ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d index b59bb5f..e2d375b 100644 --- a/ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d +++ b/ld/testsuite/ld-mips-elf/stub-dynsym-1-10000.d @@ -3,7 +3,7 @@ Disassembly of section \.MIPS\.stubs: -.* <\.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 3c180001 lui t8,0x1 diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d b/ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d index 07ca1a2..d428f3d 100644 --- a/ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d +++ b/ld/testsuite/ld-mips-elf/stub-dynsym-1-2fe80.d @@ -3,7 +3,7 @@ Disassembly of section \.MIPS\.stubs: -.* <\.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 3c180002 lui t8,0x2 diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d b/ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d index bfc94c5..e2b961f6 100644 --- a/ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d +++ b/ld/testsuite/ld-mips-elf/stub-dynsym-1-7fff.d @@ -3,7 +3,7 @@ Disassembly of section \.MIPS\.stubs: -.* <\.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d b/ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d index 2861ac2..b1b1980 100644 --- a/ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d +++ b/ld/testsuite/ld-mips-elf/stub-dynsym-1-8000.d @@ -3,7 +3,7 @@ Disassembly of section \.MIPS\.stubs: -.* <\.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d b/ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d index 440d32a..99ca9b2 100644 --- a/ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d +++ b/ld/testsuite/ld-mips-elf/stub-dynsym-1-fff0.d @@ -3,7 +3,7 @@ Disassembly of section \.MIPS\.stubs: -.* <\.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 0320f809 jalr t9 diff --git a/ld/testsuite/ld-mips-elf/tlslib-o32.d b/ld/testsuite/ld-mips-elf/tlslib-o32.d index e0b3fe3..066f284 100644 --- a/ld/testsuite/ld-mips-elf/tlslib-o32.d +++ b/ld/testsuite/ld-mips-elf/tlslib-o32.d @@ -35,9 +35,10 @@ Disassembly of section .text: .*: 03e00008 jr ra .*: 27bd0010 addiu sp,sp,16 ... + Disassembly of section .MIPS.stubs: -.* <.MIPS.stubs>: +.* <_MIPS_STUBS_>: .*: 8f998010 lw t9,-32752\(gp\) .*: 03e07821 move t7,ra .*: 0320f809 jalr t9 |