patches/binutils/2.14/110-i386-no-divide-comment.patch
changeset 1617 7d70bcf940a9
parent 1602 1ba79f2126df
parent 1616 1fda13e5d961
child 1618 7f52e1cca71e
     1.1 --- a/patches/binutils/2.14/110-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.14.orig/gas/config/tc-i386.c binutils-2.14/gas/config/tc-i386.c
     1.5 ---- binutils-2.14.orig/gas/config/tc-i386.c	2003-01-29 11:05:52.000000000 +0100
     1.6 -+++ binutils-2.14/gas/config/tc-i386.c	2008-09-22 08:54:50.000000000 +0200
     1.7 -@@ -189,15 +189,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 -@@ -207,16 +202,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 -