aboutsummaryrefslogtreecommitdiff
path: root/gas/testsuite
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2024-07-19 11:58:26 +0200
committerJan Beulich <jbeulich@suse.com>2024-07-19 11:58:26 +0200
commit6e892703fedb1c50af79158647c39f9fc0745c3e (patch)
treea485bb9dcb81694473466f44192b18264d7e2d46 /gas/testsuite
parentc0e9aca554e33e900efbd6425c1830f0a20012f5 (diff)
downloadgdb-6e892703fedb1c50af79158647c39f9fc0745c3e.zip
gdb-6e892703fedb1c50af79158647c39f9fc0745c3e.tar.gz
gdb-6e892703fedb1c50af79158647c39f9fc0745c3e.tar.bz2
TilePro: 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 (and far less intrusive) here.
Diffstat (limited to 'gas/testsuite')
-rw-r--r--gas/testsuite/gas/tilepro/t_constants.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/testsuite/gas/tilepro/t_constants.s b/gas/testsuite/gas/tilepro/t_constants.s
index fc9e1db..2aca004 100644
--- a/gas/testsuite/gas/tilepro/t_constants.s
+++ b/gas/testsuite/gas/tilepro/t_constants.s
@@ -245,7 +245,7 @@ label_2:
.word -1311808516 - (272825489 - 19388681)
.int 19338670 + 260459768
-.macro .safe_word val
+.macro .safe_word val:vararg
.word (\val) & 0xffffffff
.endm