[RFA]: Fix gas mri.exp test for 68HC11/68HC12
Stephane Carrez
Stephane.Carrez@worldnet.fr
Fri Feb 2 06:24:00 GMT 2001
Hi!
The GAS mri testsuite contains assembly instructions specific
to M68K. The pattern used to accept this test is m68*-*-*
and both m6811-elf and m6812-elf match this pattern.
Since MRI mode is also used by 68HC11/68HC12 gas, I reorganized a
little bit mri.exp to execute those tests that don't depend
on M68K, and recognize m6811-* m6812-* to avoid a failure for
tests using M68K instructions.
This patch allows me to run the Gas testsuite without any failure.
Can you approve this patch for the binutils-2_11-branch and trunk?
Thanks,
Stephane
2001-02-02 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* gas/mri/mri.exp: Don't execute the M68K specific tests
on m6811-elf and m6812-elf targets, still run the generic MRI tests.
Index: testsuite/gas/mri/mri.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mri/mri.exp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 mri.exp
--- mri.exp 1999/05/03 07:28:52 1.1.1.1
+++ mri.exp 2001/02/02 14:23:17
@@ -10,19 +10,26 @@
return
}
+# These tests are generic MRI tests: they don't rely on M68K opcodes.
run_dump_test label
run_dump_test equ
-run_dump_test constants
-run_dump_test immconst
run_dump_test float
run_dump_test char
run_dump_test expr
run_dump_test common
run_dump_test comment
gas_test "empty.s" "-M" "" "MRI empty macro"
+run_dump_test semi
+
+if [istarget "m6811-*-*" || istarget "m6812-*-*"] {
+ return
+}
+
+# Next tests contain 68K opcodes
+run_dump_test constants
+run_dump_test immconst
run_dump_test for
run_dump_test if
run_dump_test repeat
run_dump_test while
-run_dump_test semi
run_dump_test moveml
More information about the Binutils
mailing list