aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-04-25 22:55:20 +0000
committerAlan Modra <amodra@gmail.com>2000-04-25 22:55:20 +0000
commitd9b7d820703d5f9b6d0cd8dece930d5924d34e8b (patch)
tree5564bbafa3f1162510388e55690967e8585e3b9e /gas/config
parent2dac7317a7aae0bbfe7cc5ccbd0a2f404469dfea (diff)
downloadgdb-d9b7d820703d5f9b6d0cd8dece930d5924d34e8b.zip
gdb-d9b7d820703d5f9b6d0cd8dece930d5924d34e8b.tar.gz
gdb-d9b7d820703d5f9b6d0cd8dece930d5924d34e8b.tar.bz2
Remove '/' from comment_chars for FreeBSD so divide operator works.
Fix as.1 typo.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-i386.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index c9294a5..6072e55 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -144,7 +144,7 @@ const char extra_symbol_chars[] = "*%-(";
/* This array holds the chars that always start a comment. If the
pre-processor is disabled, these aren't very useful */
-#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && ! defined (TE_LINUX))
+#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined (TE_LINUX) && !defined(TE_FreeBSD))
/* Putting '/' here makes it impossible to use the divide operator.
However, we need it for compatibility with SVR4 systems. */
const char comment_chars[] = "#/";
@@ -162,7 +162,7 @@ const char comment_chars[] = "#";
#NO_APP at the beginning of its output. */
/* Also note that comments started like this one will always work if
'/' isn't otherwise defined. */
-#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && ! defined (TE_LINUX))
+#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && !defined (TE_LINUX) && !defined(TE_FreeBSD))
const char line_comment_chars[] = "";
#else
const char line_comment_chars[] = "/";
@@ -4231,7 +4231,7 @@ md_parse_option (c, arg)
break;
case 'q':
- /* -q: On i386 Solaris, this tells the native assembler does
+ /* -q: On i386 Solaris, this tells the native assembler to do
fewer checks. */
break;
#endif