[PATCH] MIPS: Fix binutils-all tests for r6 triples
YunQiang Su
yunqiang.su@cipunited.com
Mon Nov 13 09:54:58 GMT 2023
For MIPSr6, MIPS16e is not supported by ISA, and
microMIPS is not support by binutils, and we have
no plan to support it.
Let's add `-march=from-abi` option to
mips16-extend-noinsn.d and mixed-mips16-micromips.d.
---
binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d | 1 +
binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d | 1 +
2 files changed, 2 insertions(+)
diff --git a/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d b/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d
index 41bb49e6ac7..e6ceca8f35e 100644
--- a/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d
+++ b/binutils/testsuite/binutils-all/mips/mips16-extend-noinsn.d
@@ -1,4 +1,5 @@
#PROG: objcopy
+#as: -march=from-abi
#objdump: -d --prefix-addresses --show-raw-insn
#name: MIPS16 unsupported EXTEND and undefined opcode disassembly
diff --git a/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d b/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d
index 4a53dfb8578..65459d510d3 100644
--- a/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d
+++ b/binutils/testsuite/binutils-all/mips/mixed-mips16-micromips.d
@@ -1,4 +1,5 @@
#PROG: objcopy
+#as: -march=from-abi
#objdump: -drt
#name: Mixed MIPS16 and microMIPS disassembly
--
2.39.2
More information about the Binutils
mailing list