]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
FreeBSD changes.
authorAlan Modra <amodra@gmail.com>
Mon, 15 May 2000 00:12:35 +0000 (00:12 +0000)
committerAlan Modra <amodra@gmail.com>
Mon, 15 May 2000 00:12:35 +0000 (00:12 +0000)
gas/ChangeLog
gas/config/tc-i386.c
gas/doc/as.1

index 165209bb2b16f964c593b794706672f6908ad6ca..ced94542996f754e9b68eeb4e0739d13d3f3a84f 100644 (file)
@@ -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.
index 7efd6dd180e4fbc1943726ebc2e1cb56fef8e3d3..079010a200c3e0c0860a2a3fbc7084dbd82d93c7 100644 (file)
@@ -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[] = "/";
index 08d5805f37c8f14a3d31ede6c696d973649e8ddd..5fc517c781363c4fea47803a414bd970e71653ac 100644 (file)
@@ -9,7 +9,7 @@ GNU as \- the portable GNU assembler.
 .na
 .B as
 .RB "[\|" \-a "[\|" dhlns "\|]" \c
-\&\[\|\=\c
+\&[\|\=\c
 .I file\c
 \&\|]\|]
 .RB "[\|" \-D "\|]"