This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Fix MIPS gas testsuite for mips64-linux builds
- From: Thiemo Seufer <ths at networkno dot de>
- To: binutils at sourceware dot org
- Date: Tue, 20 Jun 2006 18:11:32 +0100
- Subject: [PATCH] Fix MIPS gas testsuite for mips64-linux builds
Hello All,
I applied the appended patch, it fixes some testcase failures for
native mips64-linux builds.
It is not relevant to the 2.17 release branch.
Thiemo
2006-06-20 Thiemo Seufer <ths@networkno.de>
* gas/mips/mips.exp: Explicitly specify o32 ABI.
* gas/mips/mips64-dsp.d: Dump o32 register names.
* gas/mips/smartmips.d: Explicitly specify o32 ABI.
Index: gas/testsuite/gas/mips/mips.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips.exp,v
retrieving revision 1.121
diff -u -p -r1.121 mips.exp
--- gas/testsuite/gas/mips/mips.exp 14 Jun 2006 18:04:44 -0000 1.121
+++ gas/testsuite/gas/mips/mips.exp 20 Jun 2006 13:35:11 -0000
@@ -791,7 +791,7 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "mips16e-jrc"
run_dump_test "mips16e-save"
run_dump_test "mips16e-64"
- run_list_test "mips16e-64" "-march=mips32"
+ run_list_test "mips16e-64" "-march=mips32 -32"
}
run_dump_test "vxworks1"
run_dump_test "vxworks1-xgot"
Index: gas/testsuite/gas/mips/mips64-dsp.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips64-dsp.d,v
retrieving revision 1.1
diff -u -p -r1.1 mips64-dsp.d
--- gas/testsuite/gas/mips/mips64-dsp.d 6 Jun 2006 10:49:47 -0000 1.1
+++ gas/testsuite/gas/mips/mips64-dsp.d 20 Jun 2006 13:35:12 -0000
@@ -1,4 +1,4 @@
-#objdump: -dr --prefix-addresses --show-raw-insn
+#objdump: -dr --prefix-addresses --show-raw-insn -M reg-names=32
#name: MIPS DSP ASE for MIPS64
#as: -mdsp
Index: gas/testsuite/gas/mips/smartmips.d
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/smartmips.d,v
retrieving revision 1.1
diff -u -p -r1.1 smartmips.d
--- gas/testsuite/gas/mips/smartmips.d 8 May 2006 15:57:05 -0000 1.1
+++ gas/testsuite/gas/mips/smartmips.d 20 Jun 2006 13:35:12 -0000
@@ -1,6 +1,6 @@
#objdump: -dr --prefix-addresses --show-raw-insn -M reg-names=numeric
#name: SmartMIPS
-#as: -msmartmips
+#as: -msmartmips -32
.*: +file format .*mips.*