2009-08-05 Chao-ying Fu <fu@mips.com>
authorChao-ying Fu <fu@mips.com>
Wed, 5 Aug 2009 21:24:21 +0000 (21:24 +0000)
committerChao-ying Fu <fu@mips.com>
Wed, 5 Aug 2009 21:24:21 +0000 (21:24 +0000)
* gas/mips/jal-svr4pic.d, gas/mips/jal-xgot.d,
gas/mips/mips-abi32-pic2.d: Add R_MIPS_JALR relocations after jalr.

gas/testsuite/ChangeLog
gas/testsuite/gas/mips/jal-svr4pic.d
gas/testsuite/gas/mips/jal-xgot.d
gas/testsuite/gas/mips/mips-abi32-pic2.d

index 29b04dd9a3d319e4d80ce7a267fac7a6c784d2c3..9839fe004ff09ebf925c19fac1074b0b6e32713b 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-05  Chao-ying Fu  <fu@mips.com>
+
+       * 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  <nathan@codesourcery.com>
 
        * gas/arm/missing.s: New.
index 72ab5c9a2eb15ed0776cb9bfd3556f24d0c27093..ef51f4bcc71d4d004ca811ce39a9e98e62c078be 100644 (file)
@@ -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 <text_label>
index caab1f518a4075b795ffb969f8c747e77641dfea..89a9b42b507a55e58b5e623f149fc0f2df9ec43c 100644 (file)
@@ -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 <text_label>
index 412416e4f4bfaaa014018ca65828dc5954df0fb7..533678089102055f3cb4cbcb90d48864900f668d 100644 (file)
@@ -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