https://sourceware.org/bugzilla/show_bug.cgi?id=25750
--- Comment #1 from Nick Clifton <nickc at redhat dot com> ---
Hi caij,
Which version of the binutils are you using for these tests ?
When I tried to reproduce the problem using the current development sources I
received the message "Error: too many positional arguments" for each invocation
of foo.
I did however find a variation that worked and did not have any behavioural
inconsistencies:
.macro foo insn:vararg
\insn
.endm
foo .word (XXX)
foo .word 0x1234
foo .section sec1
Using the :vararg suffix to tell the macro processor to use all of the text as
a single argument (inside the macro) preserves spaces and results in the output
that you would expect.
Cheers
Nick
--
You are receiving this mail because:
You are on the CC list for the bug.