diff options
Diffstat (limited to 'gas/config')
-rw-r--r-- | gas/config/atof-ieee.c | 2 | ||||
-rw-r--r-- | gas/config/tc-alpha.c | 2 | ||||
-rw-r--r-- | gas/config/tc-cris.h | 2 | ||||
-rw-r--r-- | gas/config/tc-mmix.c | 6 | ||||
-rw-r--r-- | gas/config/tc-mmix.h | 6 |
5 files changed, 4 insertions, 14 deletions
diff --git a/gas/config/atof-ieee.c b/gas/config/atof-ieee.c index 636549e0384..443d28c2c4f 100644 --- a/gas/config/atof-ieee.c +++ b/gas/config/atof-ieee.c @@ -23,7 +23,6 @@ /* Flonums returned here. */ extern FLONUM_TYPE generic_floating_point_number; -extern const char EXP_CHARS[]; /* Precision in LittleNums. */ /* Don't count the gap in the m68k extended precision format. */ #define MAX_PRECISION 5 @@ -696,7 +695,6 @@ print_gen (gen) } #endif -extern const char FLT_CHARS[]; #define MAX_LITTLENUMS 6 /* This is a utility function called from various tc-*.c files. It diff --git a/gas/config/tc-alpha.c b/gas/config/tc-alpha.c index 5fe9cb69dda..89eaf88603d 100644 --- a/gas/config/tc-alpha.c +++ b/gas/config/tc-alpha.c @@ -241,7 +241,7 @@ const char EXP_CHARS[] = "eE"; /* Characters which mean that a number is a floating point constant, as in 0d1.0. */ /* XXX: Do all of these really get used on the alpha?? */ -char FLT_CHARS[] = "rRsSfFdDxXpP"; +const char FLT_CHARS[] = "rRsSfFdDxXpP"; #ifdef OBJ_EVAX const char *md_shortopts = "Fm:g+1h:HG:"; diff --git a/gas/config/tc-cris.h b/gas/config/tc-cris.h index 8a500311061..ce16e97c521 100644 --- a/gas/config/tc-cris.h +++ b/gas/config/tc-cris.h @@ -54,8 +54,6 @@ extern const pseudo_typeS md_pseudo_table[]; extern const char cris_comment_chars[]; extern const char line_comment_chars[]; extern const char line_separator_chars[]; -extern const char EXP_CHARS[]; -extern const char FLT_CHARS[]; /* This should be optional, since it is ignored as an escape (assumed to be itself) if it is not recognized. */ diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index 2400a0b492b..d6992b48087 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -395,9 +395,9 @@ const char line_comment_chars[] = "*#"; const char line_separator_chars[] = ";"; -const char mmix_exp_chars[] = "eE"; +const char EXP_CHARS[] = "eE"; -const char mmix_flt_chars[] = "rf"; +const char FLT_CHARS[] = "rf"; /* Fill in the offset-related part of GETA or Bcc. */ @@ -2277,7 +2277,7 @@ md_atof (int type, char *litP, int *sizeP) { if (type == 'r') type = 'f'; - /* FIXME: Having 'f' in mmix_flt_chars (and here) makes it + /* FIXME: Having 'f' in FLT_CHARS (and here) makes it problematic to also have a forward reference in an expression. The testsuite wants it, and it's customary. We'll deal with the real problems when they come; we share the diff --git a/gas/config/tc-mmix.h b/gas/config/tc-mmix.h index b03ac8c8075..a4b1acafac6 100644 --- a/gas/config/tc-mmix.h +++ b/gas/config/tc-mmix.h @@ -32,12 +32,6 @@ extern const char mmix_comment_chars[]; extern const char mmix_symbol_chars[]; #define tc_symbol_chars mmix_symbol_chars -extern const char mmix_exp_chars[]; -#define EXP_CHARS mmix_exp_chars - -extern const char mmix_flt_chars[]; -#define FLT_CHARS mmix_flt_chars - /* "@" is a synonym for ".". */ #define LEX_AT (LEX_BEGIN_NAME) |