[PATCH] MIPS/GAS/test: Simplify MIPS16 enabling
Maciej W. Rozycki
macro@linux-mips.org
Sun Oct 3 19:41:00 GMT 2010
More information about the Binutils mailing list
Sun Oct 3 19:41:00 GMT 2010
- Previous message (by thread): [PATCH 13/15] MIPS/GAS/test: Run the LD test with n32/n64
- Next message (by thread): [PATCH] MIPS/GAS/test: Simplify MIPS16 enabling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, MIPS16 testing should only be enabled for ELF. This change guarantees it while simplifying the whole arrangement at the same time. 2010-10-03 Maciej W. Rozycki <macro@linux-mips.org> gas/testsuite/ * gas/mips/mips.exp: Simplify MIPS16 enabling. OK to apply? Maciej binutils-2.20.51-20100925-mips-gas-test-mips16.patch Index: binutils-2.20.51/gas/testsuite/gas/mips/mips.exp =================================================================== --- binutils-2.20.51.orig/gas/testsuite/gas/mips/mips.exp +++ binutils-2.20.51/gas/testsuite/gas/mips/mips.exp @@ -404,12 +404,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" @@ -421,9 +421,6 @@ if { [istarget mips*-*-vxworks*] } { } { set el "" } - if { $ecoff } { - set no_mips16 1 - } if { $no_mips16 } { mips_arch_destroy mips16 }
- Previous message (by thread): [PATCH 13/15] MIPS/GAS/test: Run the LD test with n32/n64
- Next message (by thread): [PATCH] MIPS/GAS/test: Simplify MIPS16 enabling
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list