aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-arm.c4
-rw-r--r--gas/config/tc-h8300.c6
-rw-r--r--gas/config/tc-i386.c2
-rw-r--r--gas/config/tc-i860.c2
-rw-r--r--gas/config/tc-i960.c4
-rw-r--r--gas/config/tc-m68k.c2
-rw-r--r--gas/config/tc-mips.c2
-rw-r--r--gas/config/tc-ns32k.c2
-rw-r--r--gas/config/tc-sparc.c2
-rw-r--r--gas/config/tc-vax.c2
-rw-r--r--gas/config/tc-z8k.c9
11 files changed, 14 insertions, 23 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c
index fb9edcc..7f7c7ea 100644
--- a/gas/config/tc-arm.c
+++ b/gas/config/tc-arm.c
@@ -115,11 +115,7 @@ CONST char comment_chars[] = "@";
/* Also note that comments like this one will always work. */
CONST char line_comment_chars[] = "#";
-#ifdef TE_LINUX
CONST char line_separator_chars[] = ";";
-#else
-CONST char line_separator_chars[] = "";
-#endif
/* Chars that can be used to separate mant
from exp in floating point numbers. */
diff --git a/gas/config/tc-h8300.c b/gas/config/tc-h8300.c
index 2b63b00..97a2695 100644
--- a/gas/config/tc-h8300.c
+++ b/gas/config/tc-h8300.c
@@ -34,11 +34,9 @@
#include "opcode/h8300.h"
#include <ctype.h>
-const char comment_chars[] =
-{';', 0};
-const char line_separator_chars[] =
-{0};
+const char comment_chars[] = ";";
const char line_comment_chars[] = "#";
+const char line_separator_chars[] = "";
/* This table describes all the machine specific pseudo-ops the assembler
has to support. The fields are:
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 8497f05..395b50f 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -169,7 +169,7 @@ const char line_comment_chars[] = "";
const char line_comment_chars[] = "/";
#endif
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-i860.c b/gas/config/tc-i860.c
index 3317282..e38e6b7 100644
--- a/gas/config/tc-i860.c
+++ b/gas/config/tc-i860.c
@@ -66,7 +66,7 @@ const char comment_chars[] = "!/"; /* JF removed '|' from comment_chars */
/* Also note that comments like this one will always work. */
const char line_comment_chars[] = "#/";
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-i960.c b/gas/config/tc-i960.c
index d8c15c0..8c5be7b 100644
--- a/gas/config/tc-i960.c
+++ b/gas/config/tc-i960.c
@@ -180,9 +180,9 @@ const char comment_chars[] = "#";
/* Also note that comments started like this one will always work. */
-const char line_comment_chars[1];
+const char line_comment_chars[] = "";
-const char line_separator_chars[1];
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-m68k.c b/gas/config/tc-m68k.c
index b8250ec..da78310 100644
--- a/gas/config/tc-m68k.c
+++ b/gas/config/tc-m68k.c
@@ -50,7 +50,7 @@ const char *m68k_comment_chars = "|";
/* Also note that comments like this one will always work. */
const char line_comment_chars[] = "#*";
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
CONST char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index f93e372..cdfe536 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -357,7 +357,7 @@ const char comment_chars[] = "#";
const char line_comment_chars[] = "#";
/* This array holds machine specific line separator characters. */
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-ns32k.c b/gas/config/tc-ns32k.c
index 59f1467..c81a387 100644
--- a/gas/config/tc-ns32k.c
+++ b/gas/config/tc-ns32k.c
@@ -62,7 +62,7 @@
const char comment_chars[] = "#";
const char line_comment_chars[] = LINE_COMMENT_CHARS;
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
#if !defined(ABSOLUTE_PREFIX) && !defined(IMMEDIATE_PREFIX)
#define ABSOLUTE_PREFIX '@' /* One or the other MUST be defined */
#endif
diff --git a/gas/config/tc-sparc.c b/gas/config/tc-sparc.c
index bd086d2..2ac855e 100644
--- a/gas/config/tc-sparc.c
+++ b/gas/config/tc-sparc.c
@@ -175,7 +175,7 @@ const char comment_chars[] = "!"; /* JF removed '|' from comment_chars */
work if '/' isn't otherwise defined. */
const char line_comment_chars[] = "#";
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-vax.c b/gas/config/tc-vax.c
index f425ccc..314f9bc 100644
--- a/gas/config/tc-vax.c
+++ b/gas/config/tc-vax.c
@@ -32,7 +32,7 @@ const char comment_chars[] = "#";
/* Note that for the VAX the are the same as comment_chars above. */
const char line_comment_chars[] = "#";
-const char line_separator_chars[] = "";
+const char line_separator_chars[] = ";";
/* Chars that can be used to separate mant from exp in floating point nums */
const char EXP_CHARS[] = "eE";
diff --git a/gas/config/tc-z8k.c b/gas/config/tc-z8k.c
index f89b14b..323cbcf 100644
--- a/gas/config/tc-z8k.c
+++ b/gas/config/tc-z8k.c
@@ -31,12 +31,9 @@
#include "bfd.h"
#include <ctype.h>
-const char comment_chars[] =
-{'!', 0};
-const char line_separator_chars[] =
-{';', 0};
-const char line_comment_chars[] =
-{'#', 0};
+const char comment_chars[] = "!";
+const char line_comment_chars[] = "#";
+const char line_separator_chars[] = ";";
extern int machine;
extern int coff_flags;