-# Copyright (C) 1993, 1996, 1997 Free Software Foundation, Inc.
+# Copyright (C) 1993-2014 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
+# the Free Software Foundation; either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
# Please email any bugs, comments, and/or additions to this file to:
-# DejaGnu@cygnus.com
+# dejagnu@gnu.org
# Written by the Center for Software Science at the University of Utah
# and by Cygnus Support.
}
if [istarget hppa*-*-*] then {
- # GAS-2.0 does not always parse ! as a line separator when it should.
+ if { ![istarget hppa*-*-linux*]
+ && ![istarget hppa*-*-netbsd*] } {
+ # GAS-2.0 does not always parse ! as a line separator when it should.
+ setup_xfail hppa*-*-*
+ }
gas_test "linesepbug.s" "" "" "line separator bug"
# Make sure GAS accepts syntax for accessing static data.
# Now check to make sure an invalid argument is flagged as an error.
gas_test_error "align2.s" "" "Check for error on bogus argument to .align"
- # GAS can't handle upper bound for a PA .block[z] directive
- setup_xfail hppa*-*-*
gas_test "block1.s" "" "" "Check min/max values for .block"
# Now check for an invalid argument
# Bad things happen in the PA ELF backend (others too?) if a non-default
# section is created...
- setup_xfail "hppa*-*-*elf*" "hppa*-*-linux*" "hppa*w-*-*"
+ setup_xfail "hppa*-*-*elf*" "hppa*-*-linux*" "hppa*64*-*-*"
gas_test "ssbug.s" "" "" "Check for acceptance of non-default subspaces"
# To be compatable with certain "features" of the HP compiler
# Check for bogus registers in single precision fmpyadd/fmpysub
# instructions
gas_test_error "badfmpyadd.s" "" "Check for error on bad fmpyadd insn"
+
+ # Make sure we grok spaces in directives.
+ gas_test "space.s" "" "" "Test acceptance of spaces in directives"
}