[binutils-gdb] Fix FAIL: macros altmacro
Alan Modra
amodra@sourceware.org
Thu May 16 00:19:15 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8
commit 3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8
Author: Alan Modra <amodra@gmail.com>
Date: Thu May 16 08:57:37 2024 +0930
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.
Diff:
---
gas/testsuite/gas/macros/altmacro.s | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
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
More information about the Binutils-cvs
mailing list