aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--gas/ChangeLog8
-rw-r--r--gas/config/tc-i386.c6
-rw-r--r--gas/doc/as.12
3 files changed, 12 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 2ef6239..a8acd9a 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,11 @@
+2000-04-26 David O'Brien <obrien@FreeBSD.org>
+
+ * doc/as.1: Fix unbalanced brackets.
+
+ * config/tc-i386.c (comment_chars): Don't use '/' as comment start if
+ TE_FreeBSD.
+ (line_comment_chars): Set to '/' if TE_FreeBSD.
+
Tue Apr 25 11:02:02 2000 Jeffrey A Law (law@cygnus.com)
* configure.in: Configury support for PA64 (currently disabled).
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
diff --git a/gas/doc/as.1 b/gas/doc/as.1
index 08d5805..5fc517c 100644
--- a/gas/doc/as.1
+++ b/gas/doc/as.1
@@ -9,7 +9,7 @@ GNU as \- the portable GNU assembler.
.na
.B as
.RB "[\|" \-a "[\|" dhlns "\|]" \c
-\&\[\|\=\c
+\&[\|\=\c
.I file\c
\&\|]\|]
.RB "[\|" \-D "\|]"