aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1995-08-09 19:38:01 +0000
committerIan Lance Taylor <ian@airs.com>1995-08-09 19:38:01 +0000
commit60e36671ef86f1f1a2387ec751ece0fce6a06b23 (patch)
tree670fbe6020bb8d6380e96a15664f91cf29c2ac8f /gas/testsuite
parente28c40d72519ff512fd217c6e74ef27a249b7693 (diff)
downloadgdb-60e36671ef86f1f1a2387ec751ece0fce6a06b23.zip
gdb-60e36671ef86f1f1a2387ec751ece0fce6a06b23.tar.gz
gdb-60e36671ef86f1f1a2387ec751ece0fce6a06b23.tar.bz2
* gas/all/struct.s, gas/all/struct.d: New test.
* gas/all/gas.exp: Run it.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/all/.Sanitize2
-rw-r--r--gas/testsuite/gas/all/struct.d8
-rw-r--r--gas/testsuite/gas/all/struct.s10
4 files changed, 25 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 37041ff..c866368 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+Wed Aug 9 15:34:36 1995 Ian Lance Taylor <ian@cygnus.com>
+
+ * gas/all/struct.s, gas/all/struct.d: New test.
+ * gas/all/gas.exp: Run it.
+
Tue Aug 8 17:11:39 1995 Ian Lance Taylor <ian@cygnus.com>
* gas/mri/common.s, gas/mri/common.d: New test.
diff --git a/gas/testsuite/gas/all/.Sanitize b/gas/testsuite/gas/all/.Sanitize
index f5a05b4..6188819 100644
--- a/gas/testsuite/gas/all/.Sanitize
+++ b/gas/testsuite/gas/all/.Sanitize
@@ -32,6 +32,8 @@ diff1.s
float.s
p1480.s
p2425.s
+struct.d
+struct.s
x930509.s
Things-to-lose:
diff --git a/gas/testsuite/gas/all/struct.d b/gas/testsuite/gas/all/struct.d
new file mode 100644
index 0000000..8dc5dd4
--- /dev/null
+++ b/gas/testsuite/gas/all/struct.d
@@ -0,0 +1,8 @@
+#nm: --extern-only
+#name: struct
+
+# Test the .struct pseudo-op.
+
+0+00 A w1
+0+02 A w2
+0+04 A w3
diff --git a/gas/testsuite/gas/all/struct.s b/gas/testsuite/gas/all/struct.s
new file mode 100644
index 0000000..1bec008
--- /dev/null
+++ b/gas/testsuite/gas/all/struct.s
@@ -0,0 +1,10 @@
+ .globl w1
+ .globl w2
+ .globl w3
+ .long 0
+ .struct 0
+w1: .word 0
+w2: .word 0
+w3: .word 0
+ .text
+ .long 0