patches/binutils/2.14/270-i386-no-divide-comment.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Wed Oct 01 18:10:40 2008 +0000 (2008-10-01)
changeset 894 c444ce4b51b9
permissions -rw-r--r--
Save the toolchain configuration to its own file, as an auto-extracting shell script:
- get rid of the 'extractconfig' action, it was cumbersome to use, and badly documented,
- introduce a skeleton for the config script,
- update auto-completion,
- document the config script.

/trunk/kconfig/kconfig.mk | 9 2 7 0 ++-------
/trunk/scripts/crosstool.sh | 6 5 1 0 +++++-
/trunk/docs/overview.txt | 21 9 12 0 +++++++++------------
/trunk/tools/toolchain-config.in | 8 8 0 0 ++++++++
/trunk/ct-ng.comp | 2 1 1 0 +-
5 files changed, 25 insertions(+), 21 deletions(-)
     1 diff -durN binutils-2.15.orig/gas/config/tc-i386.c binutils-2.15/gas/config/tc-i386.c
     2 --- binutils-2.15.orig/gas/config/tc-i386.c	2004-05-17 21:36:09.000000000 +0200
     3 +++ binutils-2.15/gas/config/tc-i386.c	2008-09-22 08:57:14.000000000 +0200
     4 @@ -185,15 +185,10 @@
     5  const char extra_symbol_chars[] = "*%-([";
     6  #endif
     7  
     8 -#if (defined (TE_I386AIX)				\
     9 -     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
    10 -	 && !defined (TE_LINUX)				\
    11 -	 && !defined (TE_FreeBSD)			\
    12 -	 && !defined (TE_NetBSD)))
    13  /* This array holds the chars that always start a comment.  If the
    14     pre-processor is disabled, these aren't very useful.  */
    15 -const char comment_chars[] = "#/";
    16 -#define PREFIX_SEPARATOR '\\'
    17 +const char comment_chars[] = "#";
    18 +#define PREFIX_SEPARATOR '/'
    19  
    20  /* This array holds the chars that only start a comment at the beginning of
    21     a line.  If the line seems to have the form '# 123 filename'
    22 @@ -203,16 +198,7 @@
    23     #NO_APP at the beginning of its output.
    24     Also note that comments started like this one will always work if
    25     '/' isn't otherwise defined.  */
    26 -const char line_comment_chars[] = "#";
    27 -
    28 -#else
    29 -/* Putting '/' here makes it impossible to use the divide operator.
    30 -   However, we need it for compatibility with SVR4 systems.  */
    31 -const char comment_chars[] = "#";
    32 -#define PREFIX_SEPARATOR '/'
    33 -
    34  const char line_comment_chars[] = "/#";
    35 -#endif
    36  
    37  const char line_separator_chars[] = ";";
    38