From cb8fb4f5a1d0eda1d5c4a864b31fd9f250fded62 Mon Sep 17 00:00:00 2001 From: Jan Beulich Date: Tue, 15 Feb 2005 07:32:14 +0000 Subject: [PATCH] gas/ 2005-02-15 Jan Beulich * config/tc-ia64.h (ia64_symbol_chars): Declare. (ty_symbol_chars): Define. * config/tc-ia64.c (ia64_symbol_chars): Define. --- gas/ChangeLog | 6 ++++++ gas/config/tc-ia64.c | 4 ++++ gas/config/tc-ia64.h | 3 +++ 3 files changed, 13 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index 7dd8445d4..e6adc9657 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,11 @@ 2005-02-15 Jan Beulich + * config/tc-ia64.h (ia64_symbol_chars): Declare. + (ty_symbol_chars): Define. + * config/tc-ia64.c (ia64_symbol_chars): Define. + +2005-02-15 Jan Beulich + * config/tc-ia64.c (ia64_parse_name): Only update next character if input_line_pointer was advanced. diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index 3da60c5f4..ae445de1b 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -174,6 +174,10 @@ static struct hash_control *alias_name_hash; 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[] = ""; diff --git a/gas/config/tc-ia64.h b/gas/config/tc-ia64.h index 3d2f1a06e..b986be630 100644 --- a/gas/config/tc-ia64.h +++ b/gas/config/tc-ia64.h @@ -78,6 +78,9 @@ extern const char *ia64_target_format PARAMS ((void)); #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 -- 2.11.4.GIT