This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Update mips testcase
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Cc: seufer at csv dot ica dot uni-stuttgart dot de
- Date: Fri, 27 Sep 2002 07:54:45 -0700
- Subject: PATCH: Update mips testcase
I checked in the following patch to fix new mips test failures.
H.J.
----
2002-09-27 H.J. Lu <hjl@gnu.org>
* gas/mips/mips-jalx.s: Add ".p2align 4".
* gas/mips/mips16-jalx.s: Likewise.
* gas/mips/mips-jalx.d: Check nop.
* gas/mips/mips16-jalx.d: Likewise.
--- gas/mips/mips-jalx.d.align Fri Sep 27 00:19:17 2002
+++ gas/mips/mips-jalx.d Fri Sep 27 07:50:02 2002
@@ -1,4 +1,4 @@
-#objdump: -dr -mmips:4000
+#objdump: -dr -z -mmips:4000
#as: -mips3 -mtune=r4000 -mips16
#name: mips jalx
.*: file format .*
@@ -7,3 +7,5 @@ Disassembly of section .text:
0: 74000000 jalx 0x0
0: R_MIPS_26 external_label
4: 00000000 nop
+ 8: 00000000 nop
+ c: 00000000 nop
--- gas/mips/mips-jalx.s.align Fri Sep 27 00:19:17 2002
+++ gas/mips/mips-jalx.s Fri Sep 27 07:37:59 2002
@@ -1,3 +1,6 @@
# Test the generation of jalx opcodes
.set nomips16
jalx external_label
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4
--- gas/mips/mips16-jalx.d.align Fri Sep 27 00:19:17 2002
+++ gas/mips/mips16-jalx.d Fri Sep 27 07:34:01 2002
@@ -8,3 +8,7 @@ Disassembly of section .text:
0: R_MIPS16_26 external_label
4: 6500 nop
6: 6500 nop
+ 8: 6500 nop
+ a: 6500 nop
+ c: 6500 nop
+ e: 6500 nop
--- gas/mips/mips16-jalx.s.align Fri Sep 27 00:19:17 2002
+++ gas/mips/mips16-jalx.s Fri Sep 27 07:30:54 2002
@@ -1,2 +1,5 @@
# Test the generation of jalx opcodes
jalx external_label
+
+# align section end to 16-byte boundary for easier testing on multiple targets
+ .p2align 4