patches/binutils/2.14/110-i386-no-divide-comment.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jan 06 22:22:02 2009 +0000 (2009-01-06)
changeset 1130 78681fe5cdd1
permissions -rw-r--r--
Update all samples to the latest set of config options.
There might be some small issues here and there due to the split of CT_ExtractAndPatch.

/trunk/samples/x86_64-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/sh4-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/armeb-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/arm-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/armeb-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/ia64-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/x86_64-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/armeb-unknown-linux-gnueabi/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-e500v2-linux-gnuspe/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i686-nptl-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/arm-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/arm-iphone-linux-gnueabi/crosstool.config | 5 2 3 0 ++---
/trunk/samples/armeb-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown_nofpu-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-unknown-linux-uclibc/crosstool.config | 10 7 3 0 ++++++---
/trunk/samples/arm-unknown-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/i586-geode-linux-uclibc/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/powerpc-405-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/mips-unknown-elf/crosstool.config | 8 4 4 0 +++---
/trunk/samples/armeb-unknown-linux-uclibcgnueabi/crosstool.config | 11 8 3 0 +++++++---
/trunk/samples/mipsel-unknown-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
/trunk/samples/arm-unknown-eabi/crosstool.config | 8 4 4 0 +++---
/trunk/samples/alphaev56-unknown-linux-gnu/crosstool.config | 14 11 3 0 ++++++++++---
/trunk/samples/powerpc-860-linux-gnu/crosstool.config | 13 10 3 0 +++++++++---
28 files changed, 237 insertions(+), 88 deletions(-)
yann@866
     1
diff -durN binutils-2.14.orig/gas/config/tc-i386.c binutils-2.14/gas/config/tc-i386.c
yann@866
     2
--- binutils-2.14.orig/gas/config/tc-i386.c	2003-01-29 11:05:52.000000000 +0100
yann@866
     3
+++ binutils-2.14/gas/config/tc-i386.c	2008-09-22 08:54:50.000000000 +0200
yann@866
     4
@@ -189,15 +189,10 @@
yann@866
     5
 const char extra_symbol_chars[] = "*%-([";
yann@866
     6
 #endif
yann@866
     7
 
yann@866
     8
-#if (defined (TE_I386AIX)				\
yann@866
     9
-     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
yann@866
    10
-	 && !defined (TE_LINUX)				\
yann@866
    11
-	 && !defined (TE_FreeBSD)			\
yann@866
    12
-	 && !defined (TE_NetBSD)))
yann@866
    13
 /* This array holds the chars that always start a comment.  If the
yann@866
    14
    pre-processor is disabled, these aren't very useful.  */
yann@866
    15
-const char comment_chars[] = "#/";
yann@866
    16
-#define PREFIX_SEPARATOR '\\'
yann@866
    17
+const char comment_chars[] = "#";
yann@866
    18
+#define PREFIX_SEPARATOR '/'
yann@866
    19
 
yann@866
    20
 /* This array holds the chars that only start a comment at the beginning of
yann@866
    21
    a line.  If the line seems to have the form '# 123 filename'
yann@866
    22
@@ -207,16 +202,7 @@
yann@866
    23
    #NO_APP at the beginning of its output.
yann@866
    24
    Also note that comments started like this one will always work if
yann@866
    25
    '/' isn't otherwise defined.  */
yann@866
    26
-const char line_comment_chars[] = "#";
yann@866
    27
-
yann@866
    28
-#else
yann@866
    29
-/* Putting '/' here makes it impossible to use the divide operator.
yann@866
    30
-   However, we need it for compatibility with SVR4 systems.  */
yann@866
    31
-const char comment_chars[] = "#";
yann@866
    32
-#define PREFIX_SEPARATOR '/'
yann@866
    33
-
yann@866
    34
 const char line_comment_chars[] = "/#";
yann@866
    35
-#endif
yann@866
    36
 
yann@866
    37
 const char line_separator_chars[] = ";";
yann@866
    38