aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-19 05:57:55 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-19 05:57:55 +0000
commitf87ac266653e6b7358941360a206308497d20939 (patch)
tree97574f0ed6e1dea93f9484f074c603b5deea4526 /gas/testsuite
parent78673fc6613e331a8e775f2a505fb89336c7fca5 (diff)
downloadgdb-f87ac266653e6b7358941360a206308497d20939.zip
gdb-f87ac266653e6b7358941360a206308497d20939.tar.gz
gdb-f87ac266653e6b7358941360a206308497d20939.tar.bz2
* gas/macros/semi.s, gas/macros/semi.d: New test.
* gas/macros/macros.exp: Run it. * gas/mri/semi.s, gas/mri/semi.d: New test. * gas/mri/mri.exp: Run it. Taken from PR 11715.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/ChangeLog7
-rw-r--r--gas/testsuite/gas/macros/.Sanitize2
-rw-r--r--gas/testsuite/gas/macros/semi.d8
-rw-r--r--gas/testsuite/gas/macros/semi.s14
-rw-r--r--gas/testsuite/gas/mri/.Sanitize2
-rw-r--r--gas/testsuite/gas/mri/semi.d9
-rw-r--r--gas/testsuite/gas/mri/semi.s14
7 files changed, 56 insertions, 0 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 829f733..d4bbddc 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,10 @@
+Wed Feb 19 00:55:29 1997 Ian Lance Taylor <ian@cygnus.com>
+
+ * gas/macros/semi.s, gas/macros/semi.d: New test.
+ * gas/macros/macros.exp: Run it.
+ * gas/mri/semi.s, gas/mri/semi.d: New test.
+ * gas/mri/mri.exp: Run it.
+
Tue Feb 18 13:37:06 1997 Jeffrey A Law (law@cygnus.com)
* gas/hppa/unsorted/unsorted.exp (align4 tests): Tweak expected
diff --git a/gas/testsuite/gas/macros/.Sanitize b/gas/testsuite/gas/macros/.Sanitize
index 17e460e..05474b7 100644
--- a/gas/testsuite/gas/macros/.Sanitize
+++ b/gas/testsuite/gas/macros/.Sanitize
@@ -31,6 +31,8 @@ irp.s
macros.exp
rept.d
rept.s
+semi.d
+semi.s
test1.d
test1.s
test2.d
diff --git a/gas/testsuite/gas/macros/semi.d b/gas/testsuite/gas/macros/semi.d
new file mode 100644
index 0000000..ae89e73
--- /dev/null
+++ b/gas/testsuite/gas/macros/semi.d
@@ -0,0 +1,8 @@
+#objdump: -s -j .text
+#name: semi
+
+.*: .*
+
+Contents of section .text:
+ 0000 3b203b20 3a203a20 00000000 00000000 ; ; : : ........
+ 0010 00000000 00000000 00000000 00000000 ................
diff --git a/gas/testsuite/gas/macros/semi.s b/gas/testsuite/gas/macros/semi.s
new file mode 100644
index 0000000..cefc209
--- /dev/null
+++ b/gas/testsuite/gas/macros/semi.s
@@ -0,0 +1,14 @@
+ .macro semicolon
+ .ascii "; "
+ .endm
+
+ .macro colon
+ .ascii ": "
+ .endm
+
+ semicolon
+ .ascii "; "
+ colon
+ .ascii ": "
+
+ .p2align 5
diff --git a/gas/testsuite/gas/mri/.Sanitize b/gas/testsuite/gas/mri/.Sanitize
index 0a105f6..eee2c3c 100644
--- a/gas/testsuite/gas/mri/.Sanitize
+++ b/gas/testsuite/gas/mri/.Sanitize
@@ -49,6 +49,8 @@ label.s
mri.exp
repeat.d
repeat.s
+semi.d
+semi.s
while.d
while.s
diff --git a/gas/testsuite/gas/mri/semi.d b/gas/testsuite/gas/mri/semi.d
new file mode 100644
index 0000000..0decce1
--- /dev/null
+++ b/gas/testsuite/gas/mri/semi.d
@@ -0,0 +1,9 @@
+#objdump: -s -j .text
+#name: MRI semi
+#as: -M
+
+.*: .*
+
+Contents of section .text:
+ 0000 3b203b20 3a203a20 00000000 00000000 ; ; : : ........
+ 0010 00000000 00000000 00000000 00000000 ................
diff --git a/gas/testsuite/gas/mri/semi.s b/gas/testsuite/gas/mri/semi.s
new file mode 100644
index 0000000..5b30677
--- /dev/null
+++ b/gas/testsuite/gas/mri/semi.s
@@ -0,0 +1,14 @@
+semicolon macro
+ dc.b '; '
+ endm
+
+colon macro
+ dc.b ': '
+ endm
+
+ semicolon
+ dc.b '; '
+ colon
+ dc.b ': '
+
+ p2align 5