yann@866: diff -durN binutils-2.15.orig/gas/config/tc-i386.c binutils-2.15/gas/config/tc-i386.c yann@866: --- binutils-2.15.orig/gas/config/tc-i386.c 2004-05-17 21:36:09.000000000 +0200 yann@866: +++ binutils-2.15/gas/config/tc-i386.c 2008-09-22 08:57:14.000000000 +0200 yann@866: @@ -185,15 +185,10 @@ yann@866: const char extra_symbol_chars[] = "*%-(["; yann@866: #endif yann@866: yann@866: -#if (defined (TE_I386AIX) \ yann@866: - || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \ yann@866: - && !defined (TE_LINUX) \ yann@866: - && !defined (TE_FreeBSD) \ yann@866: - && !defined (TE_NetBSD))) yann@866: /* This array holds the chars that always start a comment. If the yann@866: pre-processor is disabled, these aren't very useful. */ yann@866: -const char comment_chars[] = "#/"; yann@866: -#define PREFIX_SEPARATOR '\\' yann@866: +const char comment_chars[] = "#"; yann@866: +#define PREFIX_SEPARATOR '/' yann@866: yann@866: /* This array holds the chars that only start a comment at the beginning of yann@866: a line. If the line seems to have the form '# 123 filename' yann@866: @@ -203,16 +198,7 @@ yann@866: #NO_APP at the beginning of its output. yann@866: Also note that comments started like this one will always work if yann@866: '/' isn't otherwise defined. */ yann@866: -const char line_comment_chars[] = "#"; yann@866: - yann@866: -#else yann@866: -/* Putting '/' here makes it impossible to use the divide operator. yann@866: - However, we need it for compatibility with SVR4 systems. */ yann@866: -const char comment_chars[] = "#"; yann@866: -#define PREFIX_SEPARATOR '/' yann@866: - yann@866: const char line_comment_chars[] = "/#"; yann@866: -#endif yann@866: yann@866: const char line_separator_chars[] = ";"; yann@866: