summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2012-03-21 19:15:01 +0000
committerHans-Peter Nilsson <hp@axis.com>2012-03-21 19:15:01 +0000
commitf52c93432743a5f724deae024e819c6c0d86b7c4 (patch)
tree92dd302fe134f6dd0ff2d9f16020f1ccc71e1608
parent94b826300909876913938a278a6f0119aa630543 (diff)
downloadbinutils-redhat-f52c93432743a5f724deae024e819c6c0d86b7c4.tar.gz
PR ld/13813
* ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64 tests, also specify assembler option -march=mips3.
-rw-r--r--ld/testsuite/ChangeLog6
-rw-r--r--ld/testsuite/ld-mips-elf/comm-data.exp5
2 files changed, 10 insertions, 1 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index ac06f535b8..42c04ffa13 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2012-03-21 Hans-Peter Nilsson <hp@axis.com>
+
+ PR ld/13813
+ * ld-mips-elf/comm-data.exp (mips_comm_data_test): For N32 and N64
+ tests, also specify assembler option -march=mips3.
+
2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
PR ld/13880
diff --git a/ld/testsuite/ld-mips-elf/comm-data.exp b/ld/testsuite/ld-mips-elf/comm-data.exp
index bbd3c5589c..943e8522de 100644
--- a/ld/testsuite/ld-mips-elf/comm-data.exp
+++ b/ld/testsuite/ld-mips-elf/comm-data.exp
@@ -77,7 +77,10 @@ proc mips_comm_data_test { abi flag emul reloc } {
]
}
-set abis { o32 -32 elf32btsmip n32 -n32 elf32btsmipn32 n64 -64 elf64btsmip }
+# For targets that default to a specific ISA (instead of "from-abi"),
+# the 64-bit -march option is required to override it, like for
+# "mipsisa32r2el-*-*".
+set abis { o32 -32 elf32btsmip n32 "-n32 -march=mips3" elf32btsmipn32 n64 "-64 -march=mips3" elf64btsmip }
set relocs { copyreloc nocopyreloc }
foreach { abi flag emul } $abis {
foreach reloc $relocs {