* 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.
This commit is contained in:
parent
548ea75baa
commit
03cc338bc1
6 changed files with 32 additions and 0 deletions
|
@ -42,6 +42,7 @@ nosubspace.s
|
|||
parse.exp
|
||||
procbug.s
|
||||
spacebug.s
|
||||
ssbug.s
|
||||
stringer.s
|
||||
undefbug.s
|
||||
versionbug.s
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
10
gas/testsuite/gas/hppa/more.parse/ssbug.s
Normal file
10
gas/testsuite/gas/hppa/more.parse/ssbug.s
Normal file
|
@ -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
|
||||
|
||||
|
||||
|
|
@ -42,6 +42,7 @@ nosubspace.s
|
|||
parse.exp
|
||||
procbug.s
|
||||
spacebug.s
|
||||
ssbug.s
|
||||
stringer.s
|
||||
undefbug.s
|
||||
versionbug.s
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
||||
|
|
10
gas/testsuite/gas/hppa/parse/ssbug.s
Normal file
10
gas/testsuite/gas/hppa/parse/ssbug.s
Normal file
|
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in a new issue