The new macro parameter expansion rules break macros like
.macro assign register bit value
\register.\bit = \value
.endm
The manual suggests to use .altmacro instead.
However, the undocumented \() would also work
in regular mode and be backwards compatible.
E.g. replace above
\register\().\bit = \value
or
\register\(.)\bit = \value
Please document it (and re-word the entry about
& and .altmacro to make it a bit more readable).
--
Summary: Document use of \() in .macro
Product: binutils
Version: 2.17
Status: NEW
Severity: minor
Priority: P3
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: markus+sw at gyger dot org
CC: bug-binutils at gnu dot org
GCC build triplet: i386-pc-solaris2.10
GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10
http://sourceware.org/bugzilla/show_bug.cgi?id=3129
------- 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