return [regexp "targets:.*i386" [lindex $status 1]];
}
+proc gas_bfd64_check { } {
+ global AS
+
+ set status [gas_host_run "$AS --help" ""]
+ return [regexp "32bit/64bit/x32" [lindex $status 1]];
+}
+
if [expr ([istarget "i*86-*-*"] || [istarget "x86_64-*-*"]) && [gas_32_check]] then {
global ASFLAGS
run_dump_test "intel-regs"
run_dump_test "mixed-mode-reloc32"
run_dump_test "code64"
- } else {
+ } elseif { ![gas_bfd64_check] } {
run_list_test "code64-inval" "-I${srcdir}/$subdir -al"
}