diff options
author | Matthew Green <mrg@redhat.com> | 2001-07-17 09:57:52 +0000 |
---|---|---|
committer | Matthew Green <mrg@redhat.com> | 2001-07-17 09:57:52 +0000 |
commit | 5bae9b28a0907728a7ab88b79af7f046137eabea (patch) | |
tree | 26973f9aa69c955e2098512a57cee44f8e410e4b /gas | |
parent | c46cc7dffee1bdee465c60bc69740f01669fd788 (diff) | |
download | gdb-5bae9b28a0907728a7ab88b79af7f046137eabea.zip gdb-5bae9b28a0907728a7ab88b79af7f046137eabea.tar.gz gdb-5bae9b28a0907728a7ab88b79af7f046137eabea.tar.bz2 |
* config/tc-i386.c (comment_chars): Don't use '/' as comment start if
TE_NetBSD.
(line_comment_chars): Set to '/' if TE_NetBSD.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-i386.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index c53dacc..2c3ea50 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2001-07-17 matthew green <mrg@eterna.com.au> + + * config/tc-i386.c (comment_chars): Don't use '/' as comment start if + TE_NetBSD. + (line_comment_chars): Set to '/' if TE_NetBSD. + 2001-07-14 matthew green <mrg@eterna.com.au> * configure.in (i386-*-netbsdelf*): New target. diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 5c5ce47..6172eb9 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -157,7 +157,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) && !defined(TE_FreeBSD)) +#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && ! defined (TE_LINUX) && !defined(TE_FreeBSD) && !defined(TE_NetBSD)) /* Putting '/' here makes it impossible to use the divide operator. However, we need it for compatibility with SVR4 systems. */ const char comment_chars[] = "#/"; @@ -175,7 +175,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) && !defined(TE_FreeBSD)) +#if defined (TE_I386AIX) || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) && ! defined (TE_LINUX) && !defined(TE_FreeBSD) && !defined(TE_NetBSD)) const char line_comment_chars[] = ""; #else const char line_comment_chars[] = "/"; |