[PATCH v2 10/17] ia64: correct macro use in gas testsuite
Jan Beulich
jbeulich@suse.com
Fri Jul 12 13:05:45 GMT 2024
Whitespace in macro arguments either needs quoting / parenthesizing to
reliably not be mistaken for an argument separator, or respective macro
parameters need to be marked as covering all remaining arguments. The
latter appears more appropriate here.
---
v2: New.
--- a/gas/testsuite/gas/ia64/pcrel.s
+++ b/gas/testsuite/gas/ia64/pcrel.s
@@ -13,27 +13,27 @@ _&n:
_e&n:
.endm
-.macro m1 op, opnd1
+.macro m1 op, opnd1:vararg
.align 16
op opnd1 _e&op - _&op
.endm
-.macro m2 op, opnd1
+.macro m2 op, opnd1:vararg
.align 16
op opnd1 @pcrel(esym)
.endm
-.macro m3 op, opnd1
+.macro m3 op, opnd1:vararg
.align 16
op opnd1 esym - _&op
.endm
-.macro m4 op, opnd1
+.macro m4 op, opnd1:vararg
.align 16
op opnd1 esym - .
.endm
-.macro m5 op, opnd1
+.macro m5 op, opnd1:vararg
.align 16
op opnd1 esym - _e&op
.endm
-.macro m6 op, opnd1
+.macro m6 op, opnd1:vararg
.align 16
op opnd1 0
.endm
More information about the Binutils
mailing list