From 2fac3d48f3188e1ebd61881223b6e0b576241c9f 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 7dd8445..e6adc96 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 3da60c5..ae445de 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 3d2f1a0..b986be6 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.7.4