aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorChao-ying Fu <fu@mips.com>2009-08-05 21:24:21 +0000
committerChao-ying Fu <fu@mips.com>2009-08-05 21:24:21 +0000
commitda57d33ec2c61312098c55c7b1f29e4bef9c0564 (patch)
treead457ae04131e2ac0ad2dd3fa8a3a20eed042f2c /gas
parentb12dd2e413a8a2491986dcb46ae42d3c8362629b (diff)
downloadgdb-da57d33ec2c61312098c55c7b1f29e4bef9c0564.zip
gdb-da57d33ec2c61312098c55c7b1f29e4bef9c0564.tar.gz
gdb-da57d33ec2c61312098c55c7b1f29e4bef9c0564.tar.bz2
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.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/mips/jal-svr4pic.d3
-rw-r--r--gas/testsuite/gas/mips/jal-xgot.d3
-rw-r--r--gas/testsuite/gas/mips/mips-abi32-pic2.d3
4 files changed, 14 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 29b04dd..9839fe0 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -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.
diff --git a/gas/testsuite/gas/mips/jal-svr4pic.d b/gas/testsuite/gas/mips/jal-svr4pic.d
index 72ab5c9..ef51f4b 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 <text_label>
diff --git a/gas/testsuite/gas/mips/jal-xgot.d b/gas/testsuite/gas/mips/jal-xgot.d
index caab1f5..89a9b42 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 <text_label>
diff --git a/gas/testsuite/gas/mips/mips-abi32-pic2.d b/gas/testsuite/gas/mips/mips-abi32-pic2.d
index 412416e..5336780 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