[PATCH] Re: ia64: @ not allowed to start symbol?
Jan Beulich
JBeulich@novell.com
Mon Feb 14 19:45:00 GMT 2005
>>> James E Wilson <wilson@specifixinc.com> 11.02.05 02:10:07 >>>
>On Tue, 2005-02-08 at 08:27, Jan Beulich wrote:
>> * config/tc-ia64.h (LEX_AT): Include LEX_BEGIN_NAME.
>> (LEX_QM): Likewise.
>> ...
>
>OK.
The previously committed patch to allow @ and ? at the start of symbol
names
was incomplete; the scrubber still didn't know about these two.
Built and tested on ia64-unknown-linux-gnu.
Jan
gas/
2005-02-14 Jan Beulich <jbeulich@novell.com>
* config/tc-ia64.h (ia64_symbol_chars): Declare.
(ty_symbol_chars): Define.
* config/tc-ia64.c (ia64_symbol_chars): Define.
---
/home/jbeulich/src/binutils/mainline/2005-02-14/gas/config/tc-ia64.c 2005-02-14
08:56:13.000000000 +0100
+++ 2005-02-14/gas/config/tc-ia64.c 2005-02-14 15:43:36.807863235
+0100
@@ -174,6 +174,10 @@ static struct hash_control *alias_name_h
static struct hash_control *secalias_hash;
static struct hash_control *secalias_name_hash;
+/* List of chars besides those in app.c:symbol_chars that can start
an
+ operand. Used to prevent the scrubber eating vital white-space.
*/
+const char ia64_symbol_chars[] = "@?";
+
/* Characters which always start a comment. */
const char comment_chars[] = "";
---
/home/jbeulich/src/binutils/mainline/2005-02-14/gas/config/tc-ia64.h 2005-02-08
17:18:43.000000000 +0100
+++ 2005-02-14/gas/config/tc-ia64.h 2005-02-14 15:43:36.808839797
+0100
@@ -78,6 +78,9 @@ extern const char *ia64_target_format PA
#define LEX_QM (LEX_NAME|LEX_BEGIN_NAME) /* allow `?'
inside name */
#define LEX_HASH LEX_END_NAME /* allow `#' ending a name */
+extern const char ia64_symbol_chars[];
+#define tc_symbol_chars ia64_symbol_chars
+
#define SUB_SEGMENT_ALIGN(SEG, FRCHAIN) 0
struct ia64_fix
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: binutils-mainline-ia64-lex-at-qm-2.patch
URL: <https://sourceware.org/pipermail/binutils/attachments/20050214/4e965dae/attachment.ksh>
More information about the Binutils
mailing list