[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug gas/6926] New: Macro number feature \@ conflicting with @ in line_s
From: |
hp at sourceware dot org |
Subject: |
[Bug gas/6926] New: Macro number feature \@ conflicting with @ in line_separator_chars |
Date: |
30 Sep 2008 23:35:20 -0000 |
The CRIS port has const char line_separator_chars[] = "@";
Apparently this causes a conflict with the \@ macro invocation number counter,
as evident by building and checking for cris-axis-linux-gnu:
Running x/src/ld/testsuite/ld-elf/elf.exp ...
FAIL: ld-elf/multibss1
with ld.log saying:
x/src/ld/testsuite/ld-elf/multibss1.s: Assembler messages:
x/src/ld/testsuite/ld-elf/multibss1.s:2: Warning: stray `\'
x/src/ld/testsuite/ld-elf/multibss1.s: Assembler messages:
x/src/ld/testsuite/ld-elf/multibss1.s:2: Warning: stray `\'
I guess the simplest and most obvious route would be to make the \ escape any
special meaning of the following char (the line-separatorness of @ for this case
and perhaps similarly for comment_chars; haven't tested if there's a similar
FAIL for ARM where comment_chars contains @). Note: DLX also has the same
line_separator_chars.
--
Summary: Macro number feature \@ conflicting with @ in
line_separator_chars
Product: binutils
Version: 2.20 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: gas
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hp at sourceware dot org
CC: bug-binutils at gnu dot org
GCC target triplet: cris-axis-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=6926
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
- [Bug gas/6926] New: Macro number feature \@ conflicting with @ in line_separator_chars,
hp at sourceware dot org <=