Fix FAIL: macros altmacro

Message ID ZkVQwi/p7DM2znAZ@squeak.grove.modra.org
State New
Headers
Series Fix FAIL: macros altmacro |

Checks

Context Check Description
linaro-tcwg-bot/tcwg_binutils_build--master-aarch64 warning Patch is already merged
linaro-tcwg-bot/tcwg_binutils_build--master-arm success Testing passed
linaro-tcwg-bot/tcwg_binutils_check--master-arm warning Patch is already merged

Commit Message

Alan Modra May 16, 2024, 12:18 a.m. UTC
  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.
  

Patch

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