diff options
author | Jeff Law <law@redhat.com> | 1993-10-31 01:41:59 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1993-10-31 01:41:59 +0000 |
commit | 03cc338bc15bdaccba4e88f7822c8b84503dda99 (patch) | |
tree | 6652188003360e91d41a852dd86aeb0d752d8c5b /gas/testsuite | |
parent | 548ea75baad331e3534b8df1312d6a374d849066 (diff) | |
download | gdb-03cc338bc15bdaccba4e88f7822c8b84503dda99.zip gdb-03cc338bc15bdaccba4e88f7822c8b84503dda99.tar.gz gdb-03cc338bc15bdaccba4e88f7822c8b84503dda99.tar.bz2 |
* gas/hppa/more.parse/parse.exp: Add new test.
* gas/hppa/more.parse/ssbug.s: New test to make sure non-default
sections are handled correctly.
Diffstat (limited to 'gas/testsuite')
-rw-r--r-- | gas/testsuite/gas/hppa/more.parse/.Sanitize | 1 | ||||
-rwxr-xr-x | gas/testsuite/gas/hppa/more.parse/parse.exp | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/more.parse/ssbug.s | 10 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/parse/.Sanitize | 1 | ||||
-rwxr-xr-x | gas/testsuite/gas/hppa/parse/parse.exp | 5 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/parse/ssbug.s | 10 |
6 files changed, 32 insertions, 0 deletions
diff --git a/gas/testsuite/gas/hppa/more.parse/.Sanitize b/gas/testsuite/gas/hppa/more.parse/.Sanitize index ea82cf4..a595b4a 100644 --- a/gas/testsuite/gas/hppa/more.parse/.Sanitize +++ b/gas/testsuite/gas/hppa/more.parse/.Sanitize @@ -42,6 +42,7 @@ nosubspace.s parse.exp procbug.s spacebug.s +ssbug.s stringer.s undefbug.s versionbug.s diff --git a/gas/testsuite/gas/hppa/more.parse/parse.exp b/gas/testsuite/gas/hppa/more.parse/parse.exp index 95b2864..50eff96 100755 --- a/gas/testsuite/gas/hppa/more.parse/parse.exp +++ b/gas/testsuite/gas/hppa/more.parse/parse.exp @@ -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 index 0000000..1960e0d --- /dev/null +++ b/gas/testsuite/gas/hppa/more.parse/ssbug.s @@ -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 + + + diff --git a/gas/testsuite/gas/hppa/parse/.Sanitize b/gas/testsuite/gas/hppa/parse/.Sanitize index ea82cf4..a595b4a 100644 --- a/gas/testsuite/gas/hppa/parse/.Sanitize +++ b/gas/testsuite/gas/hppa/parse/.Sanitize @@ -42,6 +42,7 @@ nosubspace.s parse.exp procbug.s spacebug.s +ssbug.s stringer.s undefbug.s versionbug.s diff --git a/gas/testsuite/gas/hppa/parse/parse.exp b/gas/testsuite/gas/hppa/parse/parse.exp index 95b2864..50eff96 100755 --- a/gas/testsuite/gas/hppa/parse/parse.exp +++ b/gas/testsuite/gas/hppa/parse/parse.exp @@ -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 index 0000000..1960e0d --- /dev/null +++ b/gas/testsuite/gas/hppa/parse/ssbug.s @@ -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 + + + |