aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1994-09-13 04:22:49 +0000
committerJeff Law <law@redhat.com>1994-09-13 04:22:49 +0000
commit7e9825f0b7e91c329a8cc5d078322e6eb4bf573a (patch)
tree7703b80999bd88832b0447b5a074c52d46e6c234 /gas
parentc7ca67cb67ce81e3e575a5e2aa83d73441b16f54 (diff)
downloadgdb-7e9825f0b7e91c329a8cc5d078322e6eb4bf573a.zip
gdb-7e9825f0b7e91c329a8cc5d078322e6eb4bf573a.tar.gz
gdb-7e9825f0b7e91c329a8cc5d078322e6eb4bf573a.tar.bz2
* gas/hppa/reloc/r_no_relocbug.s: New test.
* gas/hppa/reloc/reloc.exp: Run it. * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update expected output.
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog8
-rw-r--r--gas/testsuite/gas/hppa/reloc/.Sanitize1
-rw-r--r--gas/testsuite/gas/hppa/reloc/r_no_reloc.s45
-rw-r--r--gas/testsuite/gas/hppa/reloc/r_no_relocbug.s45
4 files changed, 99 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 9db1287..ef808ac 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,11 @@
+Mon Sep 12 22:19:11 1994 Jeff Law (law@snake.cs.utah.edu)
+
+ * gas/hppa/reloc/r_no_relocbug.s: New test.
+ * gas/hppa/reloc/reloc.exp: Run it.
+
+ * gas/hppa/reloc/reloc.exp (do_function_reloc_bug): Update
+ expected output.
+
Sun Sep 04 17:58:10 1994 Richard Earnshaw (rwe@pegasus.esprit.ec.org)
* gas/arm/*: New subtree. Add ARM tests.
diff --git a/gas/testsuite/gas/hppa/reloc/.Sanitize b/gas/testsuite/gas/hppa/reloc/.Sanitize
index f9d1479..37396e0 100644
--- a/gas/testsuite/gas/hppa/reloc/.Sanitize
+++ b/gas/testsuite/gas/hppa/reloc/.Sanitize
@@ -36,6 +36,7 @@ plabelbug.s
reloc.exp
relocreduce.s
relocreduce2.s
+r_no_relocbug.s
roundmode.s
selectorbug.s
diff --git a/gas/testsuite/gas/hppa/reloc/r_no_reloc.s b/gas/testsuite/gas/hppa/reloc/r_no_reloc.s
new file mode 100644
index 0000000..026f2d0
--- /dev/null
+++ b/gas/testsuite/gas/hppa/reloc/r_no_reloc.s
@@ -0,0 +1,45 @@
+ .COPYRIGHT "MetaWare Incorporated, 1992"
+ .VERSION "hc2.6a -O1 t3.c\n"
+
+ .SPACE $PRIVATE$,SORT=16
+ .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO
+ .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16
+
+ .SPACE $TEXT$,SORT=8
+ .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24
+
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$
+ .ALIGN 8
+$L00DATA
+ .ALIGN 8
+ .EXPORT s
+s
+ .WORD 0x0
+ .BLOCKZ 786425
+ .BLOCKZ 7
+
+ .SPACE $TEXT$
+ .SUBSPA $CODE$
+L$001.3
+g .PROC
+ .CALLINFO FRAME=0,NO_CALLS
+ .ENTRY
+ ;ldo 120(%r0),%r28 --> to delay slot
+ bv %r0(%r2)
+ .EXIT
+ ldo 120(%r0),%r28
+ .PROCEND
+
+
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$
+ .ALIGN 4
+ .EXPORT l
+l
+ .WORD P'g
+ .IMPORT common,DATA ; common section, size=0
+ .IMPORT $global$,DATA
+ .EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR
+ .END
+
diff --git a/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s b/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s
new file mode 100644
index 0000000..026f2d0
--- /dev/null
+++ b/gas/testsuite/gas/hppa/reloc/r_no_relocbug.s
@@ -0,0 +1,45 @@
+ .COPYRIGHT "MetaWare Incorporated, 1992"
+ .VERSION "hc2.6a -O1 t3.c\n"
+
+ .SPACE $PRIVATE$,SORT=16
+ .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=80,ZERO
+ .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=0x1F,SORT=16
+
+ .SPACE $TEXT$,SORT=8
+ .SUBSPA $CODE$,QUAD=0,ALIGN=4,ACCESS=44,CODE_ONLY,SORT=24
+
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$
+ .ALIGN 8
+$L00DATA
+ .ALIGN 8
+ .EXPORT s
+s
+ .WORD 0x0
+ .BLOCKZ 786425
+ .BLOCKZ 7
+
+ .SPACE $TEXT$
+ .SUBSPA $CODE$
+L$001.3
+g .PROC
+ .CALLINFO FRAME=0,NO_CALLS
+ .ENTRY
+ ;ldo 120(%r0),%r28 --> to delay slot
+ bv %r0(%r2)
+ .EXIT
+ ldo 120(%r0),%r28
+ .PROCEND
+
+
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$
+ .ALIGN 4
+ .EXPORT l
+l
+ .WORD P'g
+ .IMPORT common,DATA ; common section, size=0
+ .IMPORT $global$,DATA
+ .EXPORT g,ENTRY,PRIV_LEV=3,RTNVAL=GR
+ .END
+