From d9b7d820703d5f9b6d0cd8dece930d5924d34e8b Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Tue, 25 Apr 2000 22:55:20 +0000 Subject: [PATCH] Remove '/' from comment_chars for FreeBSD so divide operator works. Fix as.1 typo. --- gas/ChangeLog | 8 ++++++++ gas/config/tc-i386.c | 6 +++--- gas/doc/as.1 | 2 +- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 2ef6239bccf..a8acd9a2d08 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,11 @@ +2000-04-26 David O'Brien + + * 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 c9294a5ff1b..6072e550b26 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 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 "\|]" -- 2.30.2