From: Chao-ying Fu Date: Wed, 5 Aug 2009 21:24:21 +0000 (+0000) Subject: 2009-08-05 Chao-ying Fu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=da57d33ec2c61312098c55c7b1f29e4bef9c0564;p=binutils-gdb.git 2009-08-05 Chao-ying Fu * gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr. --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 29b04dd9a3d..9839fe004ff 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2009-08-05 Chao-ying Fu + + * gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d, + gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr. + 2009-08-04 Nathan Sidwell * gas/arm/missing.s: New. diff --git a/gas/testsuite/gas/mips/jal-svr4pic.d b/gas/testsuite/gas/mips/jal-svr4pic.d index 72ab5c9a2eb..ef51f4bcc71 100644 --- a/gas/testsuite/gas/mips/jal-svr4pic.d +++ b/gas/testsuite/gas/mips/jal-svr4pic.d @@ -26,6 +26,7 @@ Disassembly of section .text: 0+0034 <[^>]*> addiu t9,t9,0 [ ]*34: R_MIPS_LO16 .text 0+0038 <[^>]*> jalr t9 +[ ]*38: R_MIPS_JALR .text 0+003c <[^>]*> nop 0+0040 <[^>]*> lw gp,0\(sp\) 0+0044 <[^>]*> nop @@ -33,6 +34,7 @@ Disassembly of section .text: [ ]*48: R_MIPS_CALL16 weak_text_label 0+004c <[^>]*> nop 0+0050 <[^>]*> jalr t9 +[ ]*50: R_MIPS_JALR weak_text_label 0+0054 <[^>]*> nop 0+0058 <[^>]*> lw gp,0\(sp\) 0+005c <[^>]*> nop @@ -40,6 +42,7 @@ Disassembly of section .text: [ ]*60: R_MIPS_CALL16 external_text_label 0+0064 <[^>]*> nop 0+0068 <[^>]*> jalr t9 +[ ]*68: R_MIPS_JALR external_text_label 0+006c <[^>]*> nop 0+0070 <[^>]*> lw gp,0\(sp\) 0+0074 <[^>]*> b 0+0000 diff --git a/gas/testsuite/gas/mips/jal-xgot.d b/gas/testsuite/gas/mips/jal-xgot.d index caab1f518a4..89a9b42b507 100644 --- a/gas/testsuite/gas/mips/jal-xgot.d +++ b/gas/testsuite/gas/mips/jal-xgot.d @@ -27,6 +27,7 @@ Disassembly of section .text: 0+0034 <[^>]*> addiu t9,t9,0 [ ]*34: R_MIPS_LO16 .text 0+0038 <[^>]*> jalr t9 +[ ]*38: R_MIPS_JALR .text 0+003c <[^>]*> nop 0+0040 <[^>]*> lw gp,0\(sp\) 0+0044 <[^>]*> lui t9,0x0 @@ -36,6 +37,7 @@ Disassembly of section .text: [ ]*4c: R_MIPS_CALL_LO16 weak_text_label 0+0050 <[^>]*> nop 0+0054 <[^>]*> jalr t9 +[ ]*54: R_MIPS_JALR weak_text_label 0+0058 <[^>]*> nop 0+005c <[^>]*> lw gp,0\(sp\) 0+0060 <[^>]*> lui t9,0x0 @@ -45,6 +47,7 @@ Disassembly of section .text: [ ]*68: R_MIPS_CALL_LO16 external_text_label 0+006c <[^>]*> nop 0+0070 <[^>]*> jalr t9 +[ ]*70: R_MIPS_JALR external_text_label 0+0074 <[^>]*> nop 0+0078 <[^>]*> lw gp,0\(sp\) 0+007c <[^>]*> b 0+0000 diff --git a/gas/testsuite/gas/mips/mips-abi32-pic2.d b/gas/testsuite/gas/mips/mips-abi32-pic2.d index 412416e4f4b..53367808910 100644 --- a/gas/testsuite/gas/mips/mips-abi32-pic2.d +++ b/gas/testsuite/gas/mips/mips-abi32-pic2.d @@ -16,6 +16,7 @@ Disassembly of section \.text: 0+014 <[^>]*> 273900cc addiu t9,t9,204 14: R_MIPS_LO16 \.text 0+018 <[^>]*> 0320f809 jalr t9 + 18: R_MIPS_JALR \.text 0+01c <[^>]*> 00000000 nop 0+020 <[^>]*> 8fbc0008 lw gp,8\(sp\) 0+024 <[^>]*> 00000000 nop @@ -35,6 +36,7 @@ Disassembly of section \.text: 0+050 <[^>]*> 273900cc addiu t9,t9,204 50: R_MIPS_LO16 \.text 0+054 <[^>]*> 0320f809 jalr t9 + 54: R_MIPS_JALR \.text 0+058 <[^>]*> 00000000 nop 0+05c <[^>]*> 3c010001 lui at,0x1 0+060 <[^>]*> 003d0821 addu at,at,sp @@ -58,6 +60,7 @@ Disassembly of section \.text: 0+09c <[^>]*> 273900cc addiu t9,t9,204 9c: R_MIPS_LO16 \.text 0+0a0 <[^>]*> 0320f809 jalr t9 + a0: R_MIPS_JALR \.text 0+0a4 <[^>]*> 00000000 nop 0+0a8 <[^>]*> 3c010001 lui at,0x1 0+0ac <[^>]*> 003d0821 addu at,at,sp