diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-19 05:57:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-19 05:57:55 +0000 |
commit | f87ac266653e6b7358941360a206308497d20939 (patch) | |
tree | 97574f0ed6e1dea93f9484f074c603b5deea4526 /gas/testsuite | |
parent | 78673fc6613e331a8e775f2a505fb89336c7fca5 (diff) | |
download | gdb-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/ChangeLog | 7 | ||||
-rw-r--r-- | gas/testsuite/gas/macros/.Sanitize | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/macros/semi.d | 8 | ||||
-rw-r--r-- | gas/testsuite/gas/macros/semi.s | 14 | ||||
-rw-r--r-- | gas/testsuite/gas/mri/.Sanitize | 2 | ||||
-rw-r--r-- | gas/testsuite/gas/mri/semi.d | 9 | ||||
-rw-r--r-- | gas/testsuite/gas/mri/semi.s | 14 |
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 |