aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-04-11 08:27:48 +0000
committerNick Clifton <nickc@redhat.com>2011-04-11 08:27:48 +0000
commit4e4f7c872bc46d8b26ebe03a61536620de7bcdea (patch)
tree854e5e44b9404aab465614a0a3831904cd2dda36 /gas/testsuite
parent249c2423d47e9b0d1ab783d57a0f75026a37210d (diff)
downloadbinutils-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.zip
binutils-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.tar.gz
binutils-4e4f7c872bc46d8b26ebe03a61536620de7bcdea.tar.bz2
* config/tc-i386.c (x86_cons): Define even for non-ELF targets.
* config/tc-i386.h (x86_cons): Always prototype.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/i386/ilp32/ilp32.exp4
-rw-r--r--gas/testsuite/gas/sh/arch/arch.exp1
2 files changed, 5 insertions, 0 deletions
diff --git a/gas/testsuite/gas/i386/ilp32/ilp32.exp b/gas/testsuite/gas/i386/ilp32/ilp32.exp
index 36a1d9a..7145fad 100644
--- a/gas/testsuite/gas/i386/ilp32/ilp32.exp
+++ b/gas/testsuite/gas/i386/ilp32/ilp32.exp
@@ -9,6 +9,10 @@ proc gas_64_check { } {
return [regexp "targets:.*x86-64" [lindex $status 1]];
}
+if [istarget "x86_64-*-solaris*"] then {
+ return
+}
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_64_check] && [is_elf_format]] then {
global ASFLAGS
diff --git a/gas/testsuite/gas/sh/arch/arch.exp b/gas/testsuite/gas/sh/arch/arch.exp
index 9ae992a..6498f14 100644
--- a/gas/testsuite/gas/sh/arch/arch.exp
+++ b/gas/testsuite/gas/sh/arch/arch.exp
@@ -205,6 +205,7 @@ if [istarget sh*-*-elf] then {
close $outfile
}
+return
#########################################################################
# Generate one sh*.s file for each architecture defined in sh-opc.h