[PATCH RFA] MIPS misisa32*-*-* testsuite: use elf-rel2.d
cgd@broadcom.com
cgd@broadcom.com
Fri Mar 15 09:22:00 GMT 2002
currently, MIPS ELF targets other than those matching mips64*-*-* use
the e32-rel2.d testcase.
This assumes that on those targets, li.d turns into two lwc1
operations on the two halves of a double in the .lit8 section.
on mipsisa32*-*-* targets, since ldc1 is supported by the
architecture, as on mips64*-*-* these loads turn into a single ldc1 of
the double in .lit8.
(since the -rel2 and -rel4 selection is no longer the same, i split
the if up so that the -relN tests were in order, too.)
chris
===================================================================
2002-03-15 Chris G. Demetriou <cgd@broadcom.com>
* gas/mips/mips.exp: Use elf-rel2 and elfel-rel2 for
mipsisa32*-*-* targets, rather than e32-rel2 and e32el-rel2.
Index: gas/mips/mips.exp
===================================================================
RCS file: /cvs/src/src/gas/testsuite/gas/mips/mips.exp,v
retrieving revision 1.29
diff -u -r1.29 mips.exp
--- mips.exp 2002/02/26 22:17:56 1.29
+++ mips.exp 2002/03/15 17:21:13
@@ -179,14 +179,17 @@
run_dump_test "mips-abi32-pic"
run_dump_test "elf${el}-rel"
- if [istarget mips64*-*-*] {
+ if {[istarget mips64*-*-*] || [istarget mipsisa32*-*-*]} {
run_dump_test "elf${el}-rel2"
- run_dump_test "elf-rel4"
- } {
+ } else {
run_dump_test "e32${el}-rel2"
- run_dump_test "e32-rel4"
}
run_dump_test "elf${el}-rel3"
+ if {[istarget mips64*-*-*]} {
+ run_dump_test "elf-rel4"
+ } else {
+ run_dump_test "e32-rel4"
+ }
run_dump_test "elf-rel5"
run_dump_test "${tmips}${el}empic"
run_dump_test "empic2"
More information about the Binutils
mailing list