aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Demetriou <cgd@broadcom.com>2003-05-02 01:56:10 +0000
committerChris Demetriou <cgd@gcc.gnu.org>2003-05-01 18:56:10 -0700
commit7c1fdbe4d17807e400d403f82105257d50d0192b (patch)
tree7de07d65ed0480e22973968ab984c501b252a981
parent409f52d3d4050e8ff8b38d57d70793d5e808599c (diff)
downloadgcc-7c1fdbe4d17807e400d403f82105257d50d0192b.zip
gcc-7c1fdbe4d17807e400d403f82105257d50d0192b.tar.gz
gcc-7c1fdbe4d17807e400d403f82105257d50d0192b.tar.bz2
mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported.
2003-05-01 Chris Demetriou <cgd@broadcom.com> * gcc.dg/special/mips-abi.exp (is_meabi_config): Remove, since MEABI is no longer supported. Remove all vestiges of MEABI from the test. From-SVN: r66370
-rw-r--r--gcc/testsuite/ChangeLog6
-rw-r--r--gcc/testsuite/gcc.dg/special/mips-abi.exp24
2 files changed, 11 insertions, 19 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 8dc9753..355420e 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2003-05-01 Chris Demetriou <cgd@broadcom.com>
+
+ * gcc.dg/special/mips-abi.exp (is_meabi_config): Remove,
+ since MEABI is no longer supported. Remove all vestiges
+ of MEABI from the test.
+
2003-05-01 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/10554
diff --git a/gcc/testsuite/gcc.dg/special/mips-abi.exp b/gcc/testsuite/gcc.dg/special/mips-abi.exp
index 46475f8d..a13d279 100644
--- a/gcc/testsuite/gcc.dg/special/mips-abi.exp
+++ b/gcc/testsuite/gcc.dg/special/mips-abi.exp
@@ -29,15 +29,6 @@ if {![istarget mips*-*-*] || [gcc_target_object_format] != "elf"} {
# flags where possible.
set asm_abi_flags {-32 -n32 -64 -mabi=o64 -mabi=eabi}
-# Return true if the configuration uses MEABI by default.
-proc is_meabi_config {} {
- return [expr {[istarget mipsisa32*-*-elf*]
- || [istarget mipsisa32el-*-elf*]
- || [istarget mipsisa64-*-elf*]
- || [istarget mipsisa64el-*-elf*]
- || [istarget mipsisa64sr71k-*-elf*]}]
-}
-
# Try to assemble mips-abi.s (an empty file), passing -v in order to
# get the assembler command line. Check whether an appropriate ABI
# flag is passed.
@@ -100,22 +91,17 @@ foreach flag $default_flags {
# If the command line does specify an ABI, just check for the
# appropriate assembler flag.
switch -- $default_abi {
- -mabi=meabi { check_mips_abi "MEABI" "" "" }
-mabi=eabi { check_mips_abi "EABI" "-mabi=eabi" "" }
-mabi=32 { check_mips_abi "o32" "-32" "" }
-mabi=n32 { check_mips_abi "n32" "-n32" "" }
-mabi=o64 { check_mips_abi "o64" "-mabi=o64" "" }
-mabi=64 { check_mips_abi "n64" "-64" "" }
"" {
- # MEABI configs shouldn't pass an ABI flag by default
- # but the others should. It doesn't seem worthwhile
- # duplicating the configuration to ABI logic here,
- # so just accept any ABI.
- if {[is_meabi_config]} {
- check_mips_abi "default" "" ""
- } else {
- check_mips_abi "default" $asm_abi_flags ""
- }
+ # An ABI should be passed to the assembler by default.
+ # It doesn't seem worthwhile to duplicate the
+ # configuration to ABI logic here, so just accept any ABI.
+ check_mips_abi "default" $asm_abi_flags ""
+
# See whether passing a -mabi flag does the right thing.
# Only try ABIs that the SGI assembler also understands.
check_mips_abi "o32" "-32" "-mabi=32"