]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* gas/hppa/unsorted/globalbug.s: New test (expected to fail).
authorJeff Law <law@redhat.com>
Wed, 16 Mar 1994 23:24:53 +0000 (23:24 +0000)
committerJeff Law <law@redhat.com>
Wed, 16 Mar 1994 23:24:53 +0000 (23:24 +0000)
        * gas/hppa/unsorted/unsorted.exp: Run it.

gas/testsuite/ChangeLog
gas/testsuite/gas/hppa/unsorted/.Sanitize
gas/testsuite/gas/hppa/unsorted/globalbug.s [new file with mode: 0644]
gas/testsuite/gas/hppa/unsorted/unsorted.exp

index d4d4435bfe210a93387fbc500efbda78c302358a..27037584273fde48bf3762c41bb272639aed2287 100644 (file)
@@ -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.
 
index f7f6f98a781b89f3c036a692e7115175faee4e19..49e95ea8ff3cf047d2ca5513fbf25868401aede7 100644 (file)
@@ -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 (file)
index 0000000..d0f05f6
--- /dev/null
@@ -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
index f63c34a4687854d95a898f1c29b1058742889ac9..b3a923ec86ac111392a202b2d541b7ff90775401 100755 (executable)
@@ -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"
 }