]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Fix FAIL: macros altmacro
authorAlan Modra <amodra@gmail.com>
Wed, 15 May 2024 23:27:37 +0000 (08:57 +0930)
committerAlan Modra <amodra@gmail.com>
Thu, 16 May 2024 00:18:47 +0000 (09:48 +0930)
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.

gas/testsuite/gas/macros/altmacro.s

index bb3a05d857f4027009426d634d43812e00ef2632..eff1b8d65d62096662ab161e6886684e6f9b6efd 100644 (file)
@@ -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