aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1993-10-29 05:21:18 +0000
committerJeff Law <law@redhat.com>1993-10-29 05:21:18 +0000
commit47882613c7edc42e2d6d6d07d35a564a3718ca0a (patch)
treeb26eff65e581d93138773efdc126bbda81bbaf4d
parent7317acfcea0b602a5d532d1d39c5e6984ab95b76 (diff)
downloadgdb-47882613c7edc42e2d6d6d07d35a564a3718ca0a.zip
gdb-47882613c7edc42e2d6d6d07d35a564a3718ca0a.tar.gz
gdb-47882613c7edc42e2d6d6d07d35a564a3718ca0a.tar.bz2
Unsorted PA tests.
-rw-r--r--gas/testsuite/gas/hppa/unsorted/.Sanitize38
-rwxr-xr-xgas/testsuite/gas/hppa/unsorted/labeldiffs.s40
-rwxr-xr-xgas/testsuite/gas/hppa/unsorted/locallabel.s15
-rwxr-xr-xgas/testsuite/gas/hppa/unsorted/ss_align.s12
4 files changed, 105 insertions, 0 deletions
diff --git a/gas/testsuite/gas/hppa/unsorted/.Sanitize b/gas/testsuite/gas/hppa/unsorted/.Sanitize
new file mode 100644
index 0000000..b3b5fba
--- /dev/null
+++ b/gas/testsuite/gas/hppa/unsorted/.Sanitize
@@ -0,0 +1,38 @@
+# Sanitize.in for devo.
+# $Id$
+#
+
+# Each directory to survive it's way into a release will need a file
+# like this one called "./.Sanitize". All keyword lines must exist,
+# and must exist in the order specified by this file. Each directory
+# in the tree will be processed, top down, in the following order.
+
+# Hash started lines like this one are comments and will be deleted
+# before anything else is done. Blank lines will also be squashed
+# out.
+
+# The lines between the "Do-first:" line and the "Things-to-keep:"
+# line are executed as a /bin/sh shell script before anything else is
+# done in this
+
+Do-first:
+
+
+# All files listed between the "Things-to-keep:" line and the
+# "Files-to-sed:" line will be kept. All other files will be removed.
+# Directories listed in this section will have their own Sanitize
+# called. Directories not listed will be removed in their entirety
+# with rm -rf.
+
+Things-to-keep:
+
+labeldiffs.s
+locallabel.s
+ss_align.s
+unsorted.exp
+
+Things-to-lose:
+
+Do-last:
+
+# End of file.
diff --git a/gas/testsuite/gas/hppa/unsorted/labeldiffs.s b/gas/testsuite/gas/hppa/unsorted/labeldiffs.s
new file mode 100755
index 0000000..7c773bd
--- /dev/null
+++ b/gas/testsuite/gas/hppa/unsorted/labeldiffs.s
@@ -0,0 +1,40 @@
+; Should check to make sure something useful gets put on those .word
+; statements.
+ .space $TEXT$
+ .subspa $CODE$
+
+ .align 8
+ .export icode,data
+icode:
+ .proc
+ .callinfo frame=0,no_calls
+ .entry
+ bv,n 0(2)
+ .exit
+ nop
+ .procend
+
+ ;
+ ; FIRST, argv array of pointers to args, 1st is same as path.
+ ;
+ .align 8
+ic_argv:
+ .word ic_argv1-icode ; second, pointer to 1st argument
+ .word ic_path-icode ; first, pointer to init path
+ .word 0 ; fourth, NULL argv terminator (pad)
+ .word 0 ; third, NULL argv terminator
+
+ic_path:
+ .blockz 4096 ; must be multiple of 4 bytes
+ .word 0 ; in case full string is used
+ .word 0 ; this will be the string terminator
+
+ic_argv1:
+ .blockz 4096 ; must be multiple of 4 bytes
+ .word 0 ; in case full string is used
+ .word 0 ; this will be the string terminator
+
+ .export szicode,data
+szicode:
+ .word szicode-icode
+ .word 0 ; must have at least one filler at end
diff --git a/gas/testsuite/gas/hppa/unsorted/locallabel.s b/gas/testsuite/gas/hppa/unsorted/locallabel.s
new file mode 100755
index 0000000..7d5721e
--- /dev/null
+++ b/gas/testsuite/gas/hppa/unsorted/locallabel.s
@@ -0,0 +1,15 @@
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$,QUAD=1,ALIGN=8,ACCESS=31
+ .SUBSPA $BSS$,QUAD=1,ALIGN=8,ACCESS=31,ZERO,SORT=82
+ .SPACE $TEXT$
+ .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+ .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+
+ .SPACE $TEXT$
+ .SUBSPA $CODE$
+
+ .align 4
+
+Label:
+L$01234:
+
diff --git a/gas/testsuite/gas/hppa/unsorted/ss_align.s b/gas/testsuite/gas/hppa/unsorted/ss_align.s
new file mode 100755
index 0000000..6e98eb2
--- /dev/null
+++ b/gas/testsuite/gas/hppa/unsorted/ss_align.s
@@ -0,0 +1,12 @@
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$,QUAD=1,ALIGN=64,ACCESS=31
+ .SPACE $TEXT$
+ .SUBSPA $LIT$,QUAD=0,ALIGN=8,ACCESS=44
+ .SUBSPA $CODE$,QUAD=0,ALIGN=8,ACCESS=44,CODE_ONLY
+ .IMPORT $global$,DATA
+ .IMPORT $$dyncall,MILLICODE
+; gcc_compiled.:
+ .SPACE $PRIVATE$
+ .SUBSPA $DATA$
+sym1: .WORD 2
+