summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2000-05-15 00:12:35 +0000
committerAlan Modra <amodra@gmail.com>2000-05-15 00:12:35 +0000
commit8fa1a913e5e0abee38664f8e848cd8e61720b756 (patch)
tree92e7d073ba0b605490661e16773fefe57c0fb2a4
parent8576bd2bff8fd4c8b3c759d8099e850282211e36 (diff)
downloadbinutils-gdb-8fa1a913e5e0abee38664f8e848cd8e61720b756.tar.gz
FreeBSD changes.
-rw-r--r--gas/ChangeLog10
-rw-r--r--gas/config/tc-i386.c4
-rw-r--r--gas/doc/as.12
3 files changed, 13 insertions, 3 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 165209bb2b1..ced94542996 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,13 @@
+2000-05-14 David O'Brien <obrien@FreeBSD.org>
+
+ * config/te-freebsd.h: New file.
+
+ * 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.
+
1999-07-03 Joel Sherrill <joel@OARcorp.com>
* configure.in (*rtems except sh): Move RTEMS targets to elf.
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c
index 7efd6dd180e..079010a200c 100644
--- a/gas/config/tc-i386.c
+++ b/gas/config/tc-i386.c
@@ -143,7 +143,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[] = "#/";
@@ -161,7 +161,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[] = "/";
diff --git a/gas/doc/as.1 b/gas/doc/as.1
index 08d5805f37c..5fc517c7813 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 "\|]"