aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-07-19 11:57:12 +0200
committerJan Beulich <jbeulich@suse.com>2024-07-19 11:57:12 +0200
commit2231ac9b9e88191178001d0ae5845e292acb2a56 (patch)
tree749a9c1caba95f614de490b7e9540c9c3432235b
parent1cc4b7d755afd8cce917ca43d2db18a7442b468a (diff)
downloadbinutils-2231ac9b9e88191178001d0ae5845e292acb2a56.zip
binutils-2231ac9b9e88191178001d0ae5845e292acb2a56.tar.gz
binutils-2231ac9b9e88191178001d0ae5845e292acb2a56.tar.bz2
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.
-rw-r--r--gas/testsuite/gas/ia64/pcrel.s12
1 files changed, 6 insertions, 6 deletions
diff --git a/gas/testsuite/gas/ia64/pcrel.s b/gas/testsuite/gas/ia64/pcrel.s
index d63130a..b14e324 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