* gas/hppa/more.parse/parse.exp: Add new test.
authorJeff Law <law@redhat.com>
Sun, 31 Oct 1993 01:41:59 +0000 (01:41 +0000)
committerJeff Law <law@redhat.com>
Sun, 31 Oct 1993 01:41:59 +0000 (01:41 +0000)
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default
sections are handled correctly.

gas/testsuite/gas/hppa/more.parse/.Sanitize
gas/testsuite/gas/hppa/more.parse/parse.exp
gas/testsuite/gas/hppa/more.parse/ssbug.s [new file with mode: 0644]
gas/testsuite/gas/hppa/parse/.Sanitize
gas/testsuite/gas/hppa/parse/parse.exp
gas/testsuite/gas/hppa/parse/ssbug.s [new file with mode: 0644]

index ea82cf4bb77ec99801fc2a55ea7105e5c806e06d..a595b4a2c6f931730e6dee423a980b31023632ef 100644 (file)
@@ -42,6 +42,7 @@ nosubspace.s
 parse.exp
 procbug.s
 spacebug.s
+ssbug.s
 stringer.s
 undefbug.s
 versionbug.s
index 95b2864ae4a85f0609471264a99a8a8a50e27eaa..50eff96ddb9fda0aad6363d4dec9e956b3064003 100755 (executable)
@@ -184,5 +184,10 @@ if [istarget hppa*-*-*] then {
     # GAS-1.36 choked on this file.
     # FIXME.  Should check relocations made for this test!
     gas_test "exprbug.s" "" "" "Check for sym1-sym2 acceptance"
+
+    # Bad things happen in the PA ELF backend (others too?) if a non-default
+    # section is created...
+    setup_xfail hppa*-*-osf*
+    gas_test "ssbug.s" "" "" "Check for acceptance of non-default subspaces"
 }
 
diff --git a/gas/testsuite/gas/hppa/more.parse/ssbug.s b/gas/testsuite/gas/hppa/more.parse/ssbug.s
new file mode 100644 (file)
index 0000000..1960e0d
--- /dev/null
@@ -0,0 +1,10 @@
+       .SPACE $PRIVATE$
+       .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+       .SUBSPA $SHORTBSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=80
+       .SPACE $TEXT$
+       .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+       .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+
+
+
index ea82cf4bb77ec99801fc2a55ea7105e5c806e06d..a595b4a2c6f931730e6dee423a980b31023632ef 100644 (file)
@@ -42,6 +42,7 @@ nosubspace.s
 parse.exp
 procbug.s
 spacebug.s
+ssbug.s
 stringer.s
 undefbug.s
 versionbug.s
index 95b2864ae4a85f0609471264a99a8a8a50e27eaa..50eff96ddb9fda0aad6363d4dec9e956b3064003 100755 (executable)
@@ -184,5 +184,10 @@ if [istarget hppa*-*-*] then {
     # GAS-1.36 choked on this file.
     # FIXME.  Should check relocations made for this test!
     gas_test "exprbug.s" "" "" "Check for sym1-sym2 acceptance"
+
+    # Bad things happen in the PA ELF backend (others too?) if a non-default
+    # section is created...
+    setup_xfail hppa*-*-osf*
+    gas_test "ssbug.s" "" "" "Check for acceptance of non-default subspaces"
 }
 
diff --git a/gas/testsuite/gas/hppa/parse/ssbug.s b/gas/testsuite/gas/hppa/parse/ssbug.s
new file mode 100644 (file)
index 0000000..1960e0d
--- /dev/null
@@ -0,0 +1,10 @@
+       .SPACE $PRIVATE$
+       .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+       .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+       .SUBSPA $SHORTBSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=80
+       .SPACE $TEXT$
+       .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+       .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+
+
+