* gas/macros/semi.s, gas/macros/semi.d: New test.
authorIan Lance Taylor <ian@airs.com>
Wed, 19 Feb 1997 05:57:55 +0000 (05:57 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 19 Feb 1997 05:57:55 +0000 (05:57 +0000)
* 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.

gas/testsuite/ChangeLog
gas/testsuite/gas/macros/.Sanitize
gas/testsuite/gas/macros/semi.d [new file with mode: 0644]
gas/testsuite/gas/macros/semi.s [new file with mode: 0644]
gas/testsuite/gas/mri/.Sanitize
gas/testsuite/gas/mri/semi.d [new file with mode: 0644]
gas/testsuite/gas/mri/semi.s [new file with mode: 0644]

index 829f733b2f69112c1214cef6f6c25367cc715376..d4bbddc3f6a2368fd8e13d7d99f605919aad3f14 100644 (file)
@@ -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
index 17e460e22215e234f79108e8c87576cf751f8058..05474b78adf9bf04f80af95fbbf32aea1b27f950 100644 (file)
@@ -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 (file)
index 0000000..ae89e73
--- /dev/null
@@ -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 (file)
index 0000000..cefc209
--- /dev/null
@@ -0,0 +1,14 @@
+        .macro semicolon
+        .ascii "; "
+        .endm
+
+        .macro colon
+        .ascii ": "
+        .endm
+
+        semicolon
+        .ascii "; "
+        colon
+        .ascii ": "
+
+       .p2align 5
index 0a105f6c67525183f9d4fe2b4762bfb0908f7e63..eee2c3c458edf1629f1bba5453069d92241d284b 100644 (file)
@@ -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 (file)
index 0000000..0decce1
--- /dev/null
@@ -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 (file)
index 0000000..5b30677
--- /dev/null
@@ -0,0 +1,14 @@
+semicolon  macro
+       dc.b    '; '
+       endm
+
+colon      macro
+       dc.b    ': '
+       endm
+
+       semicolon
+       dc.b    '; '
+       colon
+       dc.b    ': '
+
+       p2align 5