aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-m88k.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1992-11-10 18:17:00 +0000
committerIan Lance Taylor <ian@airs.com>1992-11-10 18:17:00 +0000
commit587c4264e020987b332577135abfefdbb3dee699 (patch)
tree876a218a78633b5b4be594612571317a11dba476 /gas/config/tc-m88k.c
parent9ee6289b478ed3f18bf30821ccc8a8d43c54b467 (diff)
downloadgdb-587c4264e020987b332577135abfefdbb3dee699.zip
gdb-587c4264e020987b332577135abfefdbb3dee699.tar.gz
gdb-587c4264e020987b332577135abfefdbb3dee699.tar.bz2
These changes clean things up a bit, and improve Solaris cross
support when using /opt/SUNWspro/SC2.0/acc. Tue Nov 10 09:50:25 1992 Ian Lance Taylor (ian@cygnus.com) * obj-coffbfd.c (fill_section): set STYP_NOLOAD bit for .bss section. * atof-ieee.c, atof-ns32k.c, tc-*.c: made EXP_CHARS, FLT_CHARS, comment_chars, line_comment_chars and line_seperator_chars consistently const, and always initialized them. Included read.h.
Diffstat (limited to 'gas/config/tc-m88k.c')
-rw-r--r--gas/config/tc-m88k.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/gas/config/tc-m88k.c b/gas/config/tc-m88k.c
index 67edb55..e560d8e 100644
--- a/gas/config/tc-m88k.c
+++ b/gas/config/tc-m88k.c
@@ -148,18 +148,20 @@ long omagic = OMAGIC;
/* These chars start a comment anywhere in a source file (except inside
another comment */
-char comment_chars[] = ";";
+const char comment_chars[] = ";";
/* These chars only start a comment at the beginning of a line. */
-char line_comment_chars[] = "#";
+const char line_comment_chars[] = "#";
+
+const char line_separator_chars[] = "";
/* Chars that can be used to separate mant from exp in floating point nums */
-char EXP_CHARS[] = "eE";
+const char EXP_CHARS[] = "eE";
/* Chars that mean this number is a floating point constant */
/* as in 0f123.456 */
/* or 0H1.234E-12 (see exp chars above) */
-char FLT_CHARS[] = "dDfF";
+const char FLT_CHARS[] = "dDfF";
extern void float_cons (), cons (), s_globl (), s_line (),
s_space (), s_set (), stringer (), s_lcomm ();