On the macro below 'as' prints infinite number of the following error message
test.S:3: Error: `' was already used as parameter (or another local) name
.altmacro
.macro ABC
.print "local "
.endm
ABC
It's perhaps about that the interpreter thinks the "local" word in the string of
.print is an altmacro directive and as such it has to be carried out. Note,
there is a space after local.
I've experienced this behavior with binutils 2.18, 2.19, 2.20 on 64-bit and
32-bit gentoo linux as well as on windows xp in cygwin environment (binutils
2.19 and 2.20)
--
Summary: altmacro: wrong string interpretation
Product: binutils
Version: 2.20
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: theorizer at freemail dot hu
CC: bug-binutils at gnu dot org
GCC build triplet: x86_64-gentoo-linux, x86_32-gentoo-linux, cygwin
GCC host triplet: x86_64-gentoo-linux, x86_32-gentoo-linux, cygwin
GCC target triplet: x86_64-gentoo-linux, x86_32-gentoo-linux, cygwin
http://sourceware.org/bugzilla/show_bug.cgi?id=11507
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils