diff options
author | Jeff Law <law@redhat.com> | 1994-03-16 23:24:53 +0000 |
---|---|---|
committer | Jeff Law <law@redhat.com> | 1994-03-16 23:24:53 +0000 |
commit | f04a9a1ea1a2e0497aa748c45534827d4df4fa3c (patch) | |
tree | 34fabd7a4c9b5ac9785a30e1d738139fb99ff177 /gas | |
parent | 7f8b9d66f56468f31326d35ec360100cd3759011 (diff) | |
download | gdb-f04a9a1ea1a2e0497aa748c45534827d4df4fa3c.zip gdb-f04a9a1ea1a2e0497aa748c45534827d4df4fa3c.tar.gz gdb-f04a9a1ea1a2e0497aa748c45534827d4df4fa3c.tar.bz2 |
* gas/hppa/unsorted/globalbug.s: New test (expected to fail).
* gas/hppa/unsorted/unsorted.exp: Run it.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 3 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/unsorted/.Sanitize | 1 | ||||
-rw-r--r-- | gas/testsuite/gas/hppa/unsorted/globalbug.s | 16 | ||||
-rwxr-xr-x | gas/testsuite/gas/hppa/unsorted/unsorted.exp | 7 |
4 files changed, 26 insertions, 1 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index d4d4435..2703758 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,5 +1,8 @@ Wed Mar 16 11:57:07 1994 Jeffrey A. Law (law@snake.cs.utah.edu) + * gas/hppa/unsorted/globalbug.s: New test (expected to fail). + * gas/hppa/unsorted/unsorted.exp: Run it. + * gas/hppa/more.parse/callinfobug.s: New test. * gas/hppa/omre.parse/parse.exp: Run it. diff --git a/gas/testsuite/gas/hppa/unsorted/.Sanitize b/gas/testsuite/gas/hppa/unsorted/.Sanitize index f7f6f98..49e95ea 100644 --- a/gas/testsuite/gas/hppa/unsorted/.Sanitize +++ b/gas/testsuite/gas/hppa/unsorted/.Sanitize @@ -28,6 +28,7 @@ Things-to-keep: align3.s fragbug.s +globalbug.s labeldiffs.s locallabel.s ss_align.s diff --git a/gas/testsuite/gas/hppa/unsorted/globalbug.s b/gas/testsuite/gas/hppa/unsorted/globalbug.s new file mode 100644 index 0000000..d0f05f6 --- /dev/null +++ b/gas/testsuite/gas/hppa/unsorted/globalbug.s @@ -0,0 +1,16 @@ + + .space $PRIVATE$ + .subspa $GLOBAL$ + .export $global$ +$global$ + .space $TEXT$ + .subspa $CODE$ + + .proc + .callinfo +ivaaddr + nop + nop + addil L%ivaaddr-$global$,%dp + ldo R%ivaaddr-$global$(%r1),%r19 + .procend diff --git a/gas/testsuite/gas/hppa/unsorted/unsorted.exp b/gas/testsuite/gas/hppa/unsorted/unsorted.exp index f63c34a..b3a923e 100755 --- a/gas/testsuite/gas/hppa/unsorted/unsorted.exp +++ b/gas/testsuite/gas/hppa/unsorted/unsorted.exp @@ -151,6 +151,11 @@ if [istarget hppa*-*-*] then { do_frchain_test # Test bug where switching between subspaces creates bogus alignments -; do_align3_test + do_align3_test + + # Test a problem where $global$ is defined, then used within the + # same source file. + setup_xfail hppa*-*-* + gas_test "globalbug.s" "" "" "Use \$global\$ in file which defines it" } |