1.1 --- a/patches/binutils/2.14/270-i386-no-divide-comment.patch Wed Oct 28 12:03:38 2009 +0100
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,38 +0,0 @@
1.4 -diff -durN binutils-2.15.orig/gas/config/tc-i386.c binutils-2.15/gas/config/tc-i386.c
1.5 ---- binutils-2.15.orig/gas/config/tc-i386.c 2004-05-17 21:36:09.000000000 +0200
1.6 -+++ binutils-2.15/gas/config/tc-i386.c 2008-09-22 08:57:14.000000000 +0200
1.7 -@@ -185,15 +185,10 @@
1.8 - const char extra_symbol_chars[] = "*%-([";
1.9 - #endif
1.10 -
1.11 --#if (defined (TE_I386AIX) \
1.12 -- || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF)) \
1.13 -- && !defined (TE_LINUX) \
1.14 -- && !defined (TE_FreeBSD) \
1.15 -- && !defined (TE_NetBSD)))
1.16 - /* This array holds the chars that always start a comment. If the
1.17 - pre-processor is disabled, these aren't very useful. */
1.18 --const char comment_chars[] = "#/";
1.19 --#define PREFIX_SEPARATOR '\\'
1.20 -+const char comment_chars[] = "#";
1.21 -+#define PREFIX_SEPARATOR '/'
1.22 -
1.23 - /* This array holds the chars that only start a comment at the beginning of
1.24 - a line. If the line seems to have the form '# 123 filename'
1.25 -@@ -203,16 +198,7 @@
1.26 - #NO_APP at the beginning of its output.
1.27 - Also note that comments started like this one will always work if
1.28 - '/' isn't otherwise defined. */
1.29 --const char line_comment_chars[] = "#";
1.30 --
1.31 --#else
1.32 --/* Putting '/' here makes it impossible to use the divide operator.
1.33 -- However, we need it for compatibility with SVR4 systems. */
1.34 --const char comment_chars[] = "#";
1.35 --#define PREFIX_SEPARATOR '/'
1.36 --
1.37 - const char line_comment_chars[] = "/#";
1.38 --#endif
1.39 -
1.40 - const char line_separator_chars[] = ";";
1.41 -