Remove '/' from comment_chars for FreeBSD so divide operator works.

Fix as.1 typo.
This commit is contained in:
Alan Modra 2000-04-25 22:55:20 +00:00
parent 2dac7317a7
commit d9b7d82070
3 changed files with 12 additions and 4 deletions

View File

@ -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).

View File

@ -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

View 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 "\|]"