aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2024-05-16 08:57:37 +0930
committerAlan Modra <amodra@gmail.com>2024-05-16 09:48:47 +0930
commit3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8 (patch)
treebf2d4b1cdfe9232346a9cf6efe16b2ea8c553a60 /gas/testsuite
parent52cad896786efbfb9c46e16d8e29785ed9916d18 (diff)
downloadgdb-3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8.zip
gdb-3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8.tar.gz
gdb-3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8.tar.bz2
Fix FAIL: macros altmacro
spu-elf and z80-coff fail this test due to "def" being a pseudo-op. tic30-unknown-coff fails it due to '#' not starting comments. * testsuite/gas/macros/altmacro.s: Use /* */ comments. Rename DEF to EDF.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/macros/altmacro.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/gas/testsuite/gas/macros/altmacro.s b/gas/testsuite/gas/macros/altmacro.s
index bb3a05d..eff1b8d 100644
--- a/gas/testsuite/gas/macros/altmacro.s
+++ b/gas/testsuite/gas/macros/altmacro.s
@@ -1,5 +1,5 @@
-# Check use of LOCAL directive inside .altmacro.
-# Test derived from PR 11507.
+/* Check use of LOCAL directive inside .altmacro.
+ Test derived from PR 11507. */
.altmacro
@@ -7,12 +7,12 @@
.print "local "
.endm
- .macro DEF
+ .macro EDF
LOCAL fred
.print "fred"
.endm
-# This one is just being perverse, but it should work.
+/* This one is just being perverse, but it should work. */
.macro GHI
local local
.print "local"
@@ -21,6 +21,6 @@
ABC
- DEF
+ EDF
GHI