This prevents from (ab)using the C preprocessor to generate assembly code (e.g. to generate different versions of a time-critical routine by inserting a variable amount of wait cycles/NOP instructions through a macro), because multiline macros (using '\') are turned into single lines. And when msp430-gas reads multiple instructions on a single line it translates the first one only and silently ignores the other ones.
Could line 171 of file src/gas/config/tc-msp430.c (revision 1.23) be changed to something else? Maybe something like: const char line_separator_chars[] = ":"; instead of : const char line_separator_chars[] = ""; I have no idea if ":" really is reasonable here; it looks like it's of no use in MSP430 assembly code anyway, but I could be wrong. -- Summary: No line separator character is defined for msp430-gas Product: binutils Version: unspecified Status: NEW Severity: enhancement Priority: P3 Component: gas AssignedTo: unassigned at sources dot redhat dot com ReportedBy: c dot plouet at medria dot fr CC: bug-binutils at gnu dot org GCC target triplet: msp430 http://sourceware.org/bugzilla/show_bug.cgi?id=2623 ------- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils