[binutils-gdb] ia64: correct macro use in gas testsuite
Jan Beulich
jbeulich@sourceware.org
Fri Jul 19 09:57:34 GMT 2024
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=2231ac9b9e88191178001d0ae5845e292acb2a56
commit 2231ac9b9e88191178001d0ae5845e292acb2a56
Author: Jan Beulich <jbeulich@suse.com>
Date: Fri Jul 19 11:57:12 2024 +0200
ia64: correct macro use in gas testsuite
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.
Diff:
---
gas/testsuite/gas/ia64/pcrel.s | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/gas/testsuite/gas/ia64/pcrel.s b/gas/testsuite/gas/ia64/pcrel.s
index d63130a7d93..b14e32419f3 100644
--- 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-cvs
mailing list