Fix FAIL: macros altmacro
Alan Modra
amodra@gmail.com
Thu May 16 00:18:10 GMT 2024
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.
diff --git a/gas/testsuite/gas/macros/altmacro.s b/gas/testsuite/gas/macros/altmacro.s
index bb3a05d857f..eff1b8d65d6 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
--
Alan Modra
More information about the Binutils
mailing list