summaryrefslogtreecommitdiff
path: root/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gas/testsuite/gas/i386/ilp32/elf/ilp32.exp')
-rw-r--r--gas/testsuite/gas/i386/ilp32/elf/ilp32.exp10
1 files changed, 3 insertions, 7 deletions
diff --git a/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp b/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
index 3a6dbd5253..96e9b78fcd 100644
--- a/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/elf/ilp32.exp
@@ -1,19 +1,15 @@
#
# x86-64 ILP32 tests
#
-proc gas_64_check { } {
+proc gas_x32_check { } {
global NM
global NMFLAGS
set status [gas_host_run "$NM $NMFLAGS --help" ""]
- return [regexp "targets:.*x86-64" [lindex $status 1]];
+ return [regexp "targets:.*elf32-x86-64" [lindex $status 1]];
}
-if [expr [istarget "i*86-*-solaris*"] || [istarget "x86_64-*-solaris*"]] then {
- return
-}
-
-if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
+if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_x32_check] && [is_elf_format]] then {
global ASFLAGS
set old_ASFLAGS "$ASFLAGS"