From: Alan Modra Date: Wed, 15 May 2024 23:27:37 +0000 (+0930) Subject: Fix FAIL: macros altmacro X-Git-Tag: gdb-15-branchpoint~86 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3e61a22ce7bce793db9bc52ef2c30fd9070a1dd8;p=thirdparty%2Fbinutils-gdb.git 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 --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