# Test bug where switching between subspaces creates bogus alignments
do_align4_test
- # Test a problem where $global$ is defined, then used within the
- # same source file.
- setup_xfail hppa*-*-*
- gas_test "globalbug.s" "" "" "Use \$global\$ in file which defines it"
-
+ if { ([istarget *-*-osf*] || [istarget *-*-hpux*] || [istarget *-*-bsd*]
+ || [istarget *-*-mpeix*] || [istarget *-*-hiux*])
+ && ![istarget hppa*64*-*-hpux11*] } {
+ # Test a problem where $global$ is defined, then used within the
+ # same source file.
+ gas_test "globalbug.s" "" "" "Use \$global\$ in file which defines it"
+ }
# Test that importing a defined symbol doesn't screw up the symbol's
# space/subspace.
do_import_test