aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorMaciej W. Rozycki <macro@linux-mips.org>2010-10-24 10:54:31 +0000
committerMaciej W. Rozycki <macro@linux-mips.org>2010-10-24 10:54:31 +0000
commit542982e39a41900df41ca89e34a50fe68bbb35ca (patch)
treebb1b533c7322546502083e8a172288e7eeb26934 /gas/testsuite
parent08ddc2802f904f2a37184b4f7e03e337e0a7802d (diff)
downloadgdb-542982e39a41900df41ca89e34a50fe68bbb35ca.zip
gdb-542982e39a41900df41ca89e34a50fe68bbb35ca.tar.gz
gdb-542982e39a41900df41ca89e34a50fe68bbb35ca.tar.bz2
* gas/mips/mips.exp: Simplify enabling of MIPS16 testing.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog4
-rw-r--r--gas/testsuite/gas/mips/mips.exp5
2 files changed, 5 insertions, 4 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 5724ab0..ab204d9 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,5 +1,9 @@
2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
+ * gas/mips/mips.exp: Simplify enabling of MIPS16 testing.
+
+2010-10-24 Maciej W. Rozycki <macro@linux-mips.org>
+
* gas/mips/at-1.d: Handle ECOFF relocations.
* gas/mips/eret-1.d: Handle ECOFF.
* gas/mips/eret-2.d: Likewise.
diff --git a/gas/testsuite/gas/mips/mips.exp b/gas/testsuite/gas/mips/mips.exp
index d4f447b..3fb5003 100644
--- a/gas/testsuite/gas/mips/mips.exp
+++ b/gas/testsuite/gas/mips/mips.exp
@@ -419,12 +419,12 @@ if { [istarget mips*-*-vxworks*] } {
run_dump_test "vxworks1-el"
run_dump_test "vxworks1-xgot-el"
} elseif { [istarget mips*-*-*] } {
- set no_mips16 0
set elf [expr [istarget *-*-elf*] || [istarget *-*-irix5*] || [istarget *-*-irix6* ] || [istarget *-*-linux*] || [istarget *-*-netbsd*] ]
set ecoff [expr [istarget *-*-ecoff*] || [istarget *-*-ultrix*] || [istarget *-*-irix\[1-4\]*] ]
set aout [expr [istarget *-*-bsd*] || [istarget *-*-openbsd*] ]
set addr32 [expr [istarget mipstx39*-*-*] || [istarget mips-*-linux*] || [istarget mipsel-*-linux*] || [istarget mips*-*-ecoff]]
set has_newabi [expr [istarget *-*-irix6*] || [istarget mips64*-*-linux*]]
+ set no_mips16 [expr !$elf]
if { [istarget "mips*-*-*linux*"] || [istarget "mips*-sde-elf*"] } then {
set tmips "t"
@@ -436,9 +436,6 @@ if { [istarget mips*-*-vxworks*] } {
} {
set el ""
}
- if { $ecoff } {
- set no_mips16 1
- }
if { $no_mips16 } {
mips_arch_destroy mips16
}