diff options
Diffstat (limited to 'gas/config/tc-i386.c')
-rw-r--r-- | gas/config/tc-i386.c | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/gas/config/tc-i386.c b/gas/config/tc-i386.c index 5b0a014e..9ab8413 100644 --- a/gas/config/tc-i386.c +++ b/gas/config/tc-i386.c @@ -480,13 +480,12 @@ const char extra_symbol_chars[] = "*%-([{}" #endif ; -#if (defined (TE_I386AIX) \ - || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ - && !defined (TE_GNU) \ - && !defined (TE_LINUX) \ - && !defined (TE_FreeBSD) \ - && !defined (TE_DragonFly) \ - && !defined (TE_NetBSD))) +#if ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ + && !defined (TE_GNU) \ + && !defined (TE_LINUX) \ + && !defined (TE_FreeBSD) \ + && !defined (TE_DragonFly) \ + && !defined (TE_NetBSD)) /* This array holds the chars that always start a comment. If the pre-processor is disabled, these aren't very useful. The option --divide will remove '/' from this list. */ @@ -3116,6 +3115,10 @@ md_begin (void) mnemonic_chars[c] = c; operand_chars[c] = c; } +#ifdef SVR4_COMMENT_CHARS + else if (c == '\\' && strchr (i386_comment_chars, '/')) + operand_chars[c] = c; +#endif if (ISALPHA (c) || ISDIGIT (c)) identifier_chars[c] = c; |