]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/testsuite/gas/hppa/parse/parse.exp
Update copyright years
[thirdparty/binutils-gdb.git] / gas / testsuite / gas / hppa / parse / parse.exp
index 641a679ff5579135efc8d9dbec23da9fddcd1272..dff046636293132698047913895f93fa4d2d4ab7 100644 (file)
@@ -1,8 +1,8 @@
-# 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.
@@ -119,7 +119,11 @@ proc do_valid_align_tests {} {
 }
 
 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.
@@ -174,8 +178,6 @@ if [istarget hppa*-*-*] then {
     # 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
@@ -187,7 +189,7 @@ if [istarget hppa*-*-*] then {
 
     # 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
@@ -218,5 +220,8 @@ if [istarget hppa*-*-*] then {
     # 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"
 }