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