config/binutils: remove obsolete experimental versions
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Oct 27 20:06:07 2009 +0100 (2009-10-27)
changeset 1604b3f0173f10f3
parent 1603 e0ef539e23d9
child 1605 c400f421858e
config/binutils: remove obsolete experimental versions
config/binutils/binutils.in
patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch
patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch
patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch
patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch
patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch
patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch
patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch
patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch
patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch
patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch
patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch
patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch
patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch
patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch
     1.1 --- a/config/binutils/binutils.in	Wed Oct 28 18:55:40 2009 +0100
     1.2 +++ b/config/binutils/binutils.in	Tue Oct 27 20:06:07 2009 +0100
     1.3 @@ -11,21 +11,6 @@
     1.4  # Don't remove next line
     1.5  # CT_INSERT_VERSION_BELOW
     1.6  
     1.7 -config BINUTILS_V_2_19_51_0_2
     1.8 -    bool
     1.9 -    prompt "2.19.51.0.2 (EXPERIMENTAL)"
    1.10 -    depends on EXPERIMENTAL
    1.11 -
    1.12 -config BINUTILS_V_2_19_51_0_1
    1.13 -    bool
    1.14 -    prompt "2.19.51.0.1 (EXPERIMENTAL)"
    1.15 -    depends on EXPERIMENTAL
    1.16 -
    1.17 -config BINUTILS_V_2_19_50_0_1
    1.18 -    bool
    1.19 -    prompt "2.19.50.0.1 (EXPERIMENTAL)"
    1.20 -    depends on EXPERIMENTAL
    1.21 -
    1.22  config BINUTILS_V_2_19_1
    1.23      bool
    1.24      prompt "2.19.1"
    1.25 @@ -34,51 +19,6 @@
    1.26      bool
    1.27      prompt "2.19"
    1.28  
    1.29 -config BINUTILS_V_2_18_93
    1.30 -    bool
    1.31 -    prompt "2.18.93 (EXPERIMENTAL)"
    1.32 -    depends on EXPERIMENTAL
    1.33 -
    1.34 -config BINUTILS_V_2_18_92
    1.35 -    bool
    1.36 -    prompt "2.18.92 (EXPERIMENTAL)"
    1.37 -    depends on EXPERIMENTAL
    1.38 -
    1.39 -config BINUTILS_V_2_18_91
    1.40 -    bool
    1.41 -    prompt "2.18.91 (EXPERIMENTAL)"
    1.42 -    depends on EXPERIMENTAL
    1.43 -
    1.44 -config BINUTILS_V_2_18_90
    1.45 -    bool
    1.46 -    prompt "2.18.90 (EXPERIMENTAL)"
    1.47 -    depends on EXPERIMENTAL
    1.48 -
    1.49 -config BINUTILS_V_2_18_50_0_9
    1.50 -    bool
    1.51 -    prompt "2.18.50.0.9 (EXPERIMENTAL)"
    1.52 -    depends on EXPERIMENTAL
    1.53 -
    1.54 -config BINUTILS_V_2_18_50_0_8
    1.55 -    bool
    1.56 -    prompt "2.18.50.0.8 (EXPERIMENTAL)"
    1.57 -    depends on EXPERIMENTAL
    1.58 -
    1.59 -config BINUTILS_V_2_18_50_0_7
    1.60 -    bool
    1.61 -    prompt "2.18.50.0.7 (EXPERIMENTAL)"
    1.62 -    depends on EXPERIMENTAL
    1.63 -
    1.64 -config BINUTILS_V_2_18_50_0_6
    1.65 -    bool
    1.66 -    prompt "2.18.50.0.6 (EXPERIMENTAL)"
    1.67 -    depends on EXPERIMENTAL
    1.68 -
    1.69 -config BINUTILS_V_2_18_50_0_4
    1.70 -    bool
    1.71 -    prompt "2.18.50.0.4 (EXPERIMENTAL)"
    1.72 -    depends on EXPERIMENTAL
    1.73 -
    1.74  config BINUTILS_V_2_18
    1.75      bool
    1.76      prompt "2.18"
    1.77 @@ -97,20 +37,8 @@
    1.78      string
    1.79  # Don't remove next line
    1.80  # CT_INSERT_VERSION_STRING_BELOW
    1.81 -    default "2.19.51.0.2" if BINUTILS_V_2_19_51_0_2
    1.82 -    default "2.19.51.0.1" if BINUTILS_V_2_19_51_0_1
    1.83 -    default "2.19.50.0.1" if BINUTILS_V_2_19_50_0_1
    1.84      default "2.19.1" if BINUTILS_V_2_19_1
    1.85      default "2.19" if BINUTILS_V_2_19
    1.86 -    default "2.18.93" if BINUTILS_V_2_18_93
    1.87 -    default "2.18.92" if BINUTILS_V_2_18_92
    1.88 -    default "2.18.91" if BINUTILS_V_2_18_91
    1.89 -    default "2.18.90" if BINUTILS_V_2_18_90
    1.90 -    default "2.18.50.0.9" if BINUTILS_V_2_18_50_0_9
    1.91 -    default "2.18.50.0.8" if BINUTILS_V_2_18_50_0_8
    1.92 -    default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    1.93 -    default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    1.94 -    default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    1.95      default "2.18" if BINUTILS_V_2_18
    1.96      default "2.17" if BINUTILS_V_2_17
    1.97      default "2.16.1" if BINUTILS_V_2_16_1
     2.1 --- a/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch	Wed Oct 28 18:55:40 2009 +0100
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,35 +0,0 @@
     2.4 -Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/100-arm-uclibcgnueabi.patch
     2.5 -
     2.6 --= BEGIN original header =-
     2.7 -Patch from buildroot, updated to binutils-2.18.50.0.6.
     2.8 -
     2.9 - binutils-2.18.50.0.6/configure    |    2     1     1     0 +-
    2.10 - binutils-2.18.50.0.6/configure.ac |    2     1     1     0 +-
    2.11 - 2 files changed, 2 insertions(+), 2 deletions(-)
    2.12 -
    2.13 --= END original header =-
    2.14 -
    2.15 -diff -durN binutils-2.18.50.0.4.orig/configure binutils-2.18.50.0.4/configure
    2.16 ---- binutils-2.18.50.0.4.orig/configure	2008-02-08 17:44:09.000000000 +0100
    2.17 -+++ binutils-2.18.50.0.4/configure	2009-03-07 12:17:29.000000000 +0100
    2.18 -@@ -2249,7 +2249,7 @@
    2.19 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.20 -     libgloss_dir=arm
    2.21 -     ;;
    2.22 --  arm*-*-linux-gnueabi)
    2.23 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.24 -     noconfigdirs="$noconfigdirs target-qthreads"
    2.25 -     noconfigdirs="$noconfigdirs target-libobjc"
    2.26 -     case ${with_newlib} in
    2.27 -diff -durN binutils-2.18.50.0.4.orig/configure.ac binutils-2.18.50.0.4/configure.ac
    2.28 ---- binutils-2.18.50.0.4.orig/configure.ac	2008-02-08 17:44:09.000000000 +0100
    2.29 -+++ binutils-2.18.50.0.4/configure.ac	2009-03-07 12:17:30.000000000 +0100
    2.30 -@@ -526,7 +526,7 @@
    2.31 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.32 -     libgloss_dir=arm
    2.33 -     ;;
    2.34 --  arm*-*-linux-gnueabi)
    2.35 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.36 -     noconfigdirs="$noconfigdirs target-qthreads"
    2.37 -     noconfigdirs="$noconfigdirs target-libobjc"
    2.38 -     case ${with_newlib} in
     3.1 --- a/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch	Wed Oct 28 18:55:40 2009 +0100
     3.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.3 @@ -1,35 +0,0 @@
     3.4 -Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/110-ld-makefile-path.patch
     3.5 -
     3.6 --= BEGIN original header =-
     3.7 -Fix ld scripts path, copied from buildroot.
     3.8 -
     3.9 - binutils-2.18.50.0.6/ld/Makefile.am |    2     1     1     0 +-
    3.10 - binutils-2.18.50.0.6/ld/Makefile.in |    2     1     1     0 +-
    3.11 - 2 files changed, 2 insertions(+), 2 deletions(-)
    3.12 -
    3.13 --= END original header =-
    3.14 -
    3.15 -diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.am binutils-2.18.50.0.4/ld/Makefile.am
    3.16 ---- binutils-2.18.50.0.4.orig/ld/Makefile.am	2007-11-03 21:40:37.000000000 +0100
    3.17 -+++ binutils-2.18.50.0.4/ld/Makefile.am	2009-03-07 12:17:30.000000000 +0100
    3.18 -@@ -18,7 +18,7 @@
    3.19 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    3.20 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.21 - # directives need to be different for native and cross linkers.
    3.22 --scriptdir = $(tooldir)/lib
    3.23 -+scriptdir = $(libdir)
    3.24 - 
    3.25 - EMUL = @EMUL@
    3.26 - EMULATION_OFILES = @EMULATION_OFILES@
    3.27 -diff -durN binutils-2.18.50.0.4.orig/ld/Makefile.in binutils-2.18.50.0.4/ld/Makefile.in
    3.28 ---- binutils-2.18.50.0.4.orig/ld/Makefile.in	2007-11-03 21:40:37.000000000 +0100
    3.29 -+++ binutils-2.18.50.0.4/ld/Makefile.in	2009-03-07 12:17:30.000000000 +0100
    3.30 -@@ -287,7 +287,7 @@
    3.31 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    3.32 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.33 - # directives need to be different for native and cross linkers.
    3.34 --scriptdir = $(tooldir)/lib
    3.35 -+scriptdir = $(libdir)
    3.36 - BASEDIR = $(srcdir)/..
    3.37 - BFDDIR = $(BASEDIR)/bfd
    3.38 - INCDIR = $(BASEDIR)/include
     4.1 --- a/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch	Wed Oct 28 18:55:40 2009 +0100
     4.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.3 @@ -1,31 +0,0 @@
     4.4 -Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/120-check-ldrunpath-length.patch
     4.5 -
     4.6 --= BEGIN original header =-
     4.7 -Check LD_RUN_PATH length, copied from buildroot.
     4.8 -
     4.9 - binutils-2.18.50.0.6/ld/emultempl/elf32.em |    4     4     0     0 ++++
    4.10 - 1 file changed, 4 insertions(+)
    4.11 -
    4.12 --= END original header =-
    4.13 -
    4.14 -diff -durN binutils-2.18.50.0.4.orig/ld/emultempl/elf32.em binutils-2.18.50.0.4/ld/emultempl/elf32.em
    4.15 ---- binutils-2.18.50.0.4.orig/ld/emultempl/elf32.em	2008-02-08 17:44:55.000000000 +0100
    4.16 -+++ binutils-2.18.50.0.4/ld/emultempl/elf32.em	2009-03-07 12:17:31.000000000 +0100
    4.17 -@@ -1220,6 +1220,8 @@
    4.18 - 	      && command_line.rpath == NULL)
    4.19 - 	    {
    4.20 - 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
    4.21 -+	      if ((lib_path) && (strlen (lib_path) == 0))
    4.22 -+		  lib_path = NULL;
    4.23 - 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
    4.24 - 						      force))
    4.25 - 		break;
    4.26 -@@ -1404,6 +1406,8 @@
    4.27 -   rpath = command_line.rpath;
    4.28 -   if (rpath == NULL)
    4.29 -     rpath = (const char *) getenv ("LD_RUN_PATH");
    4.30 -+  if ((rpath) && (strlen (rpath) == 0))
    4.31 -+      rpath = NULL;
    4.32 -   if (! (bfd_elf_size_dynamic_sections
    4.33 - 	 (output_bfd, command_line.soname, rpath,
    4.34 - 	  command_line.filter_shlib,
     5.1 --- a/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch	Wed Oct 28 18:55:40 2009 +0100
     5.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     5.3 @@ -1,69 +0,0 @@
     5.4 -Original patch from: ../crosstool-NG/ct-ng.trunk/patches/binutils/2.18.50.0.4/130-i386-no-divide-comment.patch
     5.5 -
     5.6 --= BEGIN original header =-
     5.7 --= END original header =-
     5.8 -
     5.9 -diff -durN binutils-2.18.50.0.4.orig/gas/config/tc-i386.c binutils-2.18.50.0.4/gas/config/tc-i386.c
    5.10 ---- binutils-2.18.50.0.4.orig/gas/config/tc-i386.c	2008-02-08 17:44:10.000000000 +0100
    5.11 -+++ binutils-2.18.50.0.4/gas/config/tc-i386.c	2009-03-07 12:17:31.000000000 +0100
    5.12 -@@ -300,24 +300,10 @@
    5.13 - #endif
    5.14 - 	;
    5.15 - 
    5.16 --#if (defined (TE_I386AIX)				\
    5.17 --     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
    5.18 --	 && !defined (TE_GNU)				\
    5.19 --	 && !defined (TE_LINUX)				\
    5.20 -- 	 && !defined (TE_NETWARE)			\
    5.21 --	 && !defined (TE_FreeBSD)			\
    5.22 --	 && !defined (TE_NetBSD)))
    5.23 - /* This array holds the chars that always start a comment.  If the
    5.24 --   pre-processor is disabled, these aren't very useful.  The option
    5.25 --   --divide will remove '/' from this list.  */
    5.26 --const char *i386_comment_chars = "#/";
    5.27 --#define SVR4_COMMENT_CHARS 1
    5.28 --#define PREFIX_SEPARATOR '\\'
    5.29 --
    5.30 --#else
    5.31 -+   pre-processor is disabled, these aren't very useful.  */
    5.32 - const char *i386_comment_chars = "#";
    5.33 - #define PREFIX_SEPARATOR '/'
    5.34 --#endif
    5.35 - 
    5.36 - /* This array holds the chars that only start a comment at the beginning of
    5.37 -    a line.  If the line seems to have the form '# 123 filename'
    5.38 -@@ -7243,20 +7229,6 @@
    5.39 -       break;
    5.40 - 
    5.41 -     case OPTION_DIVIDE:
    5.42 --#ifdef SVR4_COMMENT_CHARS
    5.43 --      {
    5.44 --	char *n, *t;
    5.45 --	const char *s;
    5.46 --
    5.47 --	n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
    5.48 --	t = n;
    5.49 --	for (s = i386_comment_chars; *s != '\0'; s++)
    5.50 --	  if (*s != '/')
    5.51 --	    *t++ = *s;
    5.52 --	*t = '\0';
    5.53 --	i386_comment_chars = n;
    5.54 --      }
    5.55 --#endif
    5.56 -       break;
    5.57 - 
    5.58 -     case OPTION_MARCH:
    5.59 -@@ -7392,13 +7364,8 @@
    5.60 -   fprintf (stream, _("\
    5.61 -   --32/--64               generate 32bit/64bit code\n"));
    5.62 - #endif
    5.63 --#ifdef SVR4_COMMENT_CHARS
    5.64 --  fprintf (stream, _("\
    5.65 --  --divide                do not treat `/' as a comment character\n"));
    5.66 --#else
    5.67 -   fprintf (stream, _("\
    5.68 -   --divide                ignored\n"));
    5.69 --#endif
    5.70 -   fprintf (stream, _("\
    5.71 -   -march=CPU[,+EXTENSION...]\n\
    5.72 -                           generate code for CPU and EXTENSION, CPU is one of:\n\
     6.1 --- a/patches/binutils/2.18.50.0.6/100-arm-uclibcgnueabi.patch	Wed Oct 28 18:55:40 2009 +0100
     6.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     6.3 @@ -1,30 +0,0 @@
     6.4 -Patch from buildroot, updated to binutils-2.18.50.0.6.
     6.5 -
     6.6 - binutils-2.18.50.0.6/configure    |    2     1     1     0 +-
     6.7 - binutils-2.18.50.0.6/configure.ac |    2     1     1     0 +-
     6.8 - 2 files changed, 2 insertions(+), 2 deletions(-)
     6.9 -
    6.10 -diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
    6.11 ---- binutils-2.18.50.0.6.orig/configure	2008-04-03 18:54:04.000000000 +0200
    6.12 -+++ binutils-2.18.50.0.6/configure	2008-05-02 23:18:42.000000000 +0200
    6.13 -@@ -2298,7 +2298,7 @@
    6.14 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    6.15 -     libgloss_dir=arm
    6.16 -     ;;
    6.17 --  arm*-*-linux-gnueabi)
    6.18 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    6.19 -     noconfigdirs="$noconfigdirs target-qthreads"
    6.20 -     noconfigdirs="$noconfigdirs target-libobjc"
    6.21 -     case ${with_newlib} in
    6.22 -diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
    6.23 ---- binutils-2.18.50.0.6.orig/configure.ac	2008-04-03 18:54:04.000000000 +0200
    6.24 -+++ binutils-2.18.50.0.6/configure.ac	2008-05-02 23:18:01.000000000 +0200
    6.25 -@@ -560,7 +560,7 @@
    6.26 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    6.27 -     libgloss_dir=arm
    6.28 -     ;;
    6.29 --  arm*-*-linux-gnueabi)
    6.30 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    6.31 -     noconfigdirs="$noconfigdirs target-qthreads"
    6.32 -     noconfigdirs="$noconfigdirs target-libobjc"
    6.33 -     case ${with_newlib} in
     7.1 --- a/patches/binutils/2.18.50.0.6/110-ld-makefile-path.patch	Wed Oct 28 18:55:40 2009 +0100
     7.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.3 @@ -1,30 +0,0 @@
     7.4 -Fix ld scripts path, copied from buildroot.
     7.5 -
     7.6 - binutils-2.18.50.0.6/ld/Makefile.am |    2     1     1     0 +-
     7.7 - binutils-2.18.50.0.6/ld/Makefile.in |    2     1     1     0 +-
     7.8 - 2 files changed, 2 insertions(+), 2 deletions(-)
     7.9 -
    7.10 -diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
    7.11 ---- binutils-2.18.50.0.6.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
    7.12 -+++ binutils-2.18.50.0.6/ld/Makefile.am	2008-05-02 23:25:14.000000000 +0200
    7.13 -@@ -18,7 +18,7 @@
    7.14 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    7.15 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    7.16 - # directives need to be different for native and cross linkers.
    7.17 --scriptdir = $(tooldir)/lib
    7.18 -+scriptdir = $(libdir)
    7.19 - 
    7.20 - EMUL = @EMUL@
    7.21 - EMULATION_OFILES = @EMULATION_OFILES@
    7.22 -diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
    7.23 ---- binutils-2.18.50.0.6.orig/ld/Makefile.in	2008-04-03 18:54:05.000000000 +0200
    7.24 -+++ binutils-2.18.50.0.6/ld/Makefile.in	2008-05-02 23:25:14.000000000 +0200
    7.25 -@@ -288,7 +288,7 @@
    7.26 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    7.27 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
    7.28 - # directives need to be different for native and cross linkers.
    7.29 --scriptdir = $(tooldir)/lib
    7.30 -+scriptdir = $(libdir)
    7.31 - BASEDIR = $(srcdir)/..
    7.32 - BFDDIR = $(BASEDIR)/bfd
    7.33 - INCDIR = $(BASEDIR)/include
     8.1 --- a/patches/binutils/2.18.50.0.6/120-check-ldrunpath-length.patch	Wed Oct 28 18:55:40 2009 +0100
     8.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.3 @@ -1,26 +0,0 @@
     8.4 -Check LD_RUN_PATH length, copied from buildroot.
     8.5 -
     8.6 - binutils-2.18.50.0.6/ld/emultempl/elf32.em |    4     4     0     0 ++++
     8.7 - 1 file changed, 4 insertions(+)
     8.8 -
     8.9 -diff -durN binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em binutils-2.18.50.0.6/ld/emultempl/elf32.em
    8.10 ---- binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em	2008-04-03 18:54:25.000000000 +0200
    8.11 -+++ binutils-2.18.50.0.6/ld/emultempl/elf32.em	2008-05-02 23:30:08.000000000 +0200
    8.12 -@@ -1220,6 +1220,8 @@
    8.13 - 	      && command_line.rpath == NULL)
    8.14 - 	    {
    8.15 - 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
    8.16 -+	      if ((lib_path) && (strlen (lib_path) == 0))
    8.17 -+		  lib_path = NULL;
    8.18 - 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
    8.19 - 						      force))
    8.20 - 		break;
    8.21 -@@ -1405,6 +1407,8 @@
    8.22 -   rpath = command_line.rpath;
    8.23 -   if (rpath == NULL)
    8.24 -     rpath = (const char *) getenv ("LD_RUN_PATH");
    8.25 -+  if ((rpath) && (strlen (rpath) == 0))
    8.26 -+      rpath = NULL;
    8.27 -   if (! (bfd_elf_size_dynamic_sections
    8.28 - 	 (link_info.output_bfd, command_line.soname, rpath,
    8.29 - 	  command_line.filter_shlib,
     9.1 --- a/patches/binutils/2.18.50.0.6/130-i386-no-divide-comment.patch	Wed Oct 28 18:55:40 2009 +0100
     9.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     9.3 @@ -1,64 +0,0 @@
     9.4 -diff -durN binutils-2.18.50.0.6.orig/gas/config/tc-i386.c binutils-2.18.50.0.6/gas/config/tc-i386.c
     9.5 ---- binutils-2.18.50.0.6.orig/gas/config/tc-i386.c	2008-04-03 18:54:04.000000000 +0200
     9.6 -+++ binutils-2.18.50.0.6/gas/config/tc-i386.c	2008-09-22 09:09:23.000000000 +0200
     9.7 -@@ -312,24 +312,10 @@
     9.8 - #endif
     9.9 - 	;
    9.10 - 
    9.11 --#if (defined (TE_I386AIX)				\
    9.12 --     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
    9.13 --	 && !defined (TE_GNU)				\
    9.14 --	 && !defined (TE_LINUX)				\
    9.15 -- 	 && !defined (TE_NETWARE)			\
    9.16 --	 && !defined (TE_FreeBSD)			\
    9.17 --	 && !defined (TE_NetBSD)))
    9.18 - /* This array holds the chars that always start a comment.  If the
    9.19 --   pre-processor is disabled, these aren't very useful.  The option
    9.20 --   --divide will remove '/' from this list.  */
    9.21 --const char *i386_comment_chars = "#/";
    9.22 --#define SVR4_COMMENT_CHARS 1
    9.23 --#define PREFIX_SEPARATOR '\\'
    9.24 --
    9.25 --#else
    9.26 -+   pre-processor is disabled, these aren't very useful.  */
    9.27 - const char *i386_comment_chars = "#";
    9.28 - #define PREFIX_SEPARATOR '/'
    9.29 --#endif
    9.30 - 
    9.31 - /* This array holds the chars that only start a comment at the beginning of
    9.32 -    a line.  If the line seems to have the form '# 123 filename'
    9.33 -@@ -7876,20 +7862,6 @@
    9.34 -       break;
    9.35 - 
    9.36 -     case OPTION_DIVIDE:
    9.37 --#ifdef SVR4_COMMENT_CHARS
    9.38 --      {
    9.39 --	char *n, *t;
    9.40 --	const char *s;
    9.41 --
    9.42 --	n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
    9.43 --	t = n;
    9.44 --	for (s = i386_comment_chars; *s != '\0'; s++)
    9.45 --	  if (*s != '/')
    9.46 --	    *t++ = *s;
    9.47 --	*t = '\0';
    9.48 --	i386_comment_chars = n;
    9.49 --      }
    9.50 --#endif
    9.51 -       break;
    9.52 - 
    9.53 -     case OPTION_MARCH:
    9.54 -@@ -8029,13 +8001,8 @@
    9.55 -   fprintf (stream, _("\
    9.56 -   --32/--64               generate 32bit/64bit code\n"));
    9.57 - #endif
    9.58 --#ifdef SVR4_COMMENT_CHARS
    9.59 --  fprintf (stream, _("\
    9.60 --  --divide                do not treat `/' as a comment character\n"));
    9.61 --#else
    9.62 -   fprintf (stream, _("\
    9.63 -   --divide                ignored\n"));
    9.64 --#endif
    9.65 -   fprintf (stream, _("\
    9.66 -   -march=CPU[,+EXTENSION...]\n\
    9.67 -                           generate code for CPU and EXTENSION, CPU is one of:\n\
    10.1 --- a/patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch	Wed Oct 28 18:55:40 2009 +0100
    10.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.3 @@ -1,30 +0,0 @@
    10.4 -Patch from buildroot, updated to binutils-2.18.50.0.6.
    10.5 -
    10.6 - binutils-2.18.50.0.6/configure    |    2     1     1     0 +-
    10.7 - binutils-2.18.50.0.6/configure.ac |    2     1     1     0 +-
    10.8 - 2 files changed, 2 insertions(+), 2 deletions(-)
    10.9 -
   10.10 -diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
   10.11 ---- binutils-2.18.50.0.6.orig/configure	2008-04-03 18:54:04.000000000 +0200
   10.12 -+++ binutils-2.18.50.0.6/configure	2008-05-02 23:18:42.000000000 +0200
   10.13 -@@ -2298,7 +2298,7 @@
   10.14 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
   10.15 -     libgloss_dir=arm
   10.16 -     ;;
   10.17 --  arm*-*-linux-gnueabi)
   10.18 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   10.19 -     noconfigdirs="$noconfigdirs target-qthreads"
   10.20 -     noconfigdirs="$noconfigdirs target-libobjc"
   10.21 -     case ${with_newlib} in
   10.22 -diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
   10.23 ---- binutils-2.18.50.0.6.orig/configure.ac	2008-04-03 18:54:04.000000000 +0200
   10.24 -+++ binutils-2.18.50.0.6/configure.ac	2008-05-02 23:18:01.000000000 +0200
   10.25 -@@ -560,7 +560,7 @@
   10.26 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
   10.27 -     libgloss_dir=arm
   10.28 -     ;;
   10.29 --  arm*-*-linux-gnueabi)
   10.30 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   10.31 -     noconfigdirs="$noconfigdirs target-qthreads"
   10.32 -     noconfigdirs="$noconfigdirs target-libobjc"
   10.33 -     case ${with_newlib} in
    11.1 --- a/patches/binutils/2.18.50.0.7/110-ld-makefile-path.patch	Wed Oct 28 18:55:40 2009 +0100
    11.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.3 @@ -1,30 +0,0 @@
    11.4 -Fix ld scripts path, copied from buildroot.
    11.5 -
    11.6 - binutils-2.18.50.0.6/ld/Makefile.am |    2     1     1     0 +-
    11.7 - binutils-2.18.50.0.6/ld/Makefile.in |    2     1     1     0 +-
    11.8 - 2 files changed, 2 insertions(+), 2 deletions(-)
    11.9 -
   11.10 -diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
   11.11 ---- binutils-2.18.50.0.6.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
   11.12 -+++ binutils-2.18.50.0.6/ld/Makefile.am	2008-05-02 23:25:14.000000000 +0200
   11.13 -@@ -18,7 +18,7 @@
   11.14 - # We put the scripts in the directory $(scriptdir)/ldscripts.
   11.15 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   11.16 - # directives need to be different for native and cross linkers.
   11.17 --scriptdir = $(tooldir)/lib
   11.18 -+scriptdir = $(libdir)
   11.19 - 
   11.20 - EMUL = @EMUL@
   11.21 - EMULATION_OFILES = @EMULATION_OFILES@
   11.22 -diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
   11.23 ---- binutils-2.18.50.0.6.orig/ld/Makefile.in	2008-04-03 18:54:05.000000000 +0200
   11.24 -+++ binutils-2.18.50.0.6/ld/Makefile.in	2008-05-02 23:25:14.000000000 +0200
   11.25 -@@ -288,7 +288,7 @@
   11.26 - # We put the scripts in the directory $(scriptdir)/ldscripts.
   11.27 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   11.28 - # directives need to be different for native and cross linkers.
   11.29 --scriptdir = $(tooldir)/lib
   11.30 -+scriptdir = $(libdir)
   11.31 - BASEDIR = $(srcdir)/..
   11.32 - BFDDIR = $(BASEDIR)/bfd
   11.33 - INCDIR = $(BASEDIR)/include
    12.1 --- a/patches/binutils/2.18.50.0.7/120-check-ldrunpath-length.patch	Wed Oct 28 18:55:40 2009 +0100
    12.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    12.3 @@ -1,26 +0,0 @@
    12.4 -Check LD_RUN_PATH length, copied from buildroot.
    12.5 -
    12.6 - binutils-2.18.50.0.6/ld/emultempl/elf32.em |    4     4     0     0 ++++
    12.7 - 1 file changed, 4 insertions(+)
    12.8 -
    12.9 -diff -durN binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em binutils-2.18.50.0.6/ld/emultempl/elf32.em
   12.10 ---- binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em	2008-04-03 18:54:25.000000000 +0200
   12.11 -+++ binutils-2.18.50.0.6/ld/emultempl/elf32.em	2008-05-02 23:30:08.000000000 +0200
   12.12 -@@ -1220,6 +1220,8 @@
   12.13 - 	      && command_line.rpath == NULL)
   12.14 - 	    {
   12.15 - 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
   12.16 -+	      if ((lib_path) && (strlen (lib_path) == 0))
   12.17 -+		  lib_path = NULL;
   12.18 - 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
   12.19 - 						      force))
   12.20 - 		break;
   12.21 -@@ -1405,6 +1407,8 @@
   12.22 -   rpath = command_line.rpath;
   12.23 -   if (rpath == NULL)
   12.24 -     rpath = (const char *) getenv ("LD_RUN_PATH");
   12.25 -+  if ((rpath) && (strlen (rpath) == 0))
   12.26 -+      rpath = NULL;
   12.27 -   if (! (bfd_elf_size_dynamic_sections
   12.28 - 	 (link_info.output_bfd, command_line.soname, rpath,
   12.29 - 	  command_line.filter_shlib,
    13.1 --- a/patches/binutils/2.18.50.0.7/130-i386-no-divide-comment.patch	Wed Oct 28 18:55:40 2009 +0100
    13.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.3 @@ -1,64 +0,0 @@
    13.4 -diff -durN binutils-2.18.50.0.7.orig/gas/config/tc-i386.c binutils-2.18.50.0.7/gas/config/tc-i386.c
    13.5 ---- binutils-2.18.50.0.7.orig/gas/config/tc-i386.c	2008-05-04 16:28:10.000000000 +0200
    13.6 -+++ binutils-2.18.50.0.7/gas/config/tc-i386.c	2008-09-22 09:11:19.000000000 +0200
    13.7 -@@ -312,24 +312,10 @@
    13.8 - #endif
    13.9 - 	;
   13.10 - 
   13.11 --#if (defined (TE_I386AIX)				\
   13.12 --     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
   13.13 --	 && !defined (TE_GNU)				\
   13.14 --	 && !defined (TE_LINUX)				\
   13.15 -- 	 && !defined (TE_NETWARE)			\
   13.16 --	 && !defined (TE_FreeBSD)			\
   13.17 --	 && !defined (TE_NetBSD)))
   13.18 - /* This array holds the chars that always start a comment.  If the
   13.19 --   pre-processor is disabled, these aren't very useful.  The option
   13.20 --   --divide will remove '/' from this list.  */
   13.21 --const char *i386_comment_chars = "#/";
   13.22 --#define SVR4_COMMENT_CHARS 1
   13.23 --#define PREFIX_SEPARATOR '\\'
   13.24 --
   13.25 --#else
   13.26 -+   pre-processor is disabled, these aren't very useful.  */
   13.27 - const char *i386_comment_chars = "#";
   13.28 - #define PREFIX_SEPARATOR '/'
   13.29 --#endif
   13.30 - 
   13.31 - /* This array holds the chars that only start a comment at the beginning of
   13.32 -    a line.  If the line seems to have the form '# 123 filename'
   13.33 -@@ -7920,20 +7906,6 @@
   13.34 -       break;
   13.35 - 
   13.36 -     case OPTION_DIVIDE:
   13.37 --#ifdef SVR4_COMMENT_CHARS
   13.38 --      {
   13.39 --	char *n, *t;
   13.40 --	const char *s;
   13.41 --
   13.42 --	n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
   13.43 --	t = n;
   13.44 --	for (s = i386_comment_chars; *s != '\0'; s++)
   13.45 --	  if (*s != '/')
   13.46 --	    *t++ = *s;
   13.47 --	*t = '\0';
   13.48 --	i386_comment_chars = n;
   13.49 --      }
   13.50 --#endif
   13.51 -       break;
   13.52 - 
   13.53 -     case OPTION_MARCH:
   13.54 -@@ -8084,13 +8056,8 @@
   13.55 -   fprintf (stream, _("\
   13.56 -   --32/--64               generate 32bit/64bit code\n"));
   13.57 - #endif
   13.58 --#ifdef SVR4_COMMENT_CHARS
   13.59 --  fprintf (stream, _("\
   13.60 --  --divide                do not treat `/' as a comment character\n"));
   13.61 --#else
   13.62 -   fprintf (stream, _("\
   13.63 -   --divide                ignored\n"));
   13.64 --#endif
   13.65 -   fprintf (stream, _("\
   13.66 -   -march=CPU[,+EXTENSION...]\n\
   13.67 -                           generate code for CPU and EXTENSION, CPU is one of:\n\
    14.1 --- a/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch	Wed Oct 28 18:55:40 2009 +0100
    14.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    14.3 @@ -1,24 +0,0 @@
    14.4 -diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
    14.5 ---- binutils-2.18.50.0.8.orig/configure	2008-07-10 17:32:56.000000000 +0200
    14.6 -+++ binutils-2.18.50.0.8/configure	2008-07-13 23:08:13.000000000 +0200
    14.7 -@@ -2313,7 +2313,7 @@
    14.8 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    14.9 -     libgloss_dir=arm
   14.10 -     ;;
   14.11 --  arm*-*-linux-gnueabi)
   14.12 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   14.13 -     noconfigdirs="$noconfigdirs target-qthreads"
   14.14 -     case ${with_newlib} in
   14.15 -       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   14.16 -diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
   14.17 ---- binutils-2.18.50.0.8.orig/configure.ac	2008-07-10 17:32:56.000000000 +0200
   14.18 -+++ binutils-2.18.50.0.8/configure.ac	2008-07-13 23:08:13.000000000 +0200
   14.19 -@@ -562,7 +562,7 @@
   14.20 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
   14.21 -     libgloss_dir=arm
   14.22 -     ;;
   14.23 --  arm*-*-linux-gnueabi)
   14.24 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   14.25 -     noconfigdirs="$noconfigdirs target-qthreads"
   14.26 -     case ${with_newlib} in
   14.27 -       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
    15.1 --- a/patches/binutils/2.18.50.0.8/110-ld-makefile-path.patch	Wed Oct 28 18:55:40 2009 +0100
    15.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    15.3 @@ -1,24 +0,0 @@
    15.4 -diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.am binutils-2.18.50.0.8/ld/Makefile.am
    15.5 ---- binutils-2.18.50.0.8.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
    15.6 -+++ binutils-2.18.50.0.8/ld/Makefile.am	2008-07-13 23:15:40.000000000 +0200
    15.7 -@@ -18,7 +18,7 @@
    15.8 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    15.9 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   15.10 - # directives need to be different for native and cross linkers.
   15.11 --scriptdir = $(tooldir)/lib
   15.12 -+scriptdir = $(libdir)
   15.13 - 
   15.14 - EMUL = @EMUL@
   15.15 - EMULATION_OFILES = @EMULATION_OFILES@
   15.16 -diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.in binutils-2.18.50.0.8/ld/Makefile.in
   15.17 ---- binutils-2.18.50.0.8.orig/ld/Makefile.in	2008-07-10 17:32:58.000000000 +0200
   15.18 -+++ binutils-2.18.50.0.8/ld/Makefile.in	2008-07-13 23:15:40.000000000 +0200
   15.19 -@@ -290,7 +290,7 @@
   15.20 - # We put the scripts in the directory $(scriptdir)/ldscripts.
   15.21 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   15.22 - # directives need to be different for native and cross linkers.
   15.23 --scriptdir = $(tooldir)/lib
   15.24 -+scriptdir = $(libdir)
   15.25 - BASEDIR = $(srcdir)/..
   15.26 - BFDDIR = $(BASEDIR)/bfd
   15.27 - INCDIR = $(BASEDIR)/include
    16.1 --- a/patches/binutils/2.18.50.0.8/120-check-ldrunpath-length.patch	Wed Oct 28 18:55:40 2009 +0100
    16.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.3 @@ -1,21 +0,0 @@
    16.4 -diff -durN binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em binutils-2.18.50.0.8/ld/emultempl/elf32.em
    16.5 ---- binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em	2008-07-10 17:33:23.000000000 +0200
    16.6 -+++ binutils-2.18.50.0.8/ld/emultempl/elf32.em	2008-07-13 23:19:29.000000000 +0200
    16.7 -@@ -1220,6 +1220,8 @@
    16.8 - 	      && command_line.rpath == NULL)
    16.9 - 	    {
   16.10 - 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
   16.11 -+	      if ((lib_path) && (strlen (lib_path) == 0))
   16.12 -+		  lib_path = NULL;
   16.13 - 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
   16.14 - 						      force))
   16.15 - 		break;
   16.16 -@@ -1405,6 +1407,8 @@
   16.17 -   rpath = command_line.rpath;
   16.18 -   if (rpath == NULL)
   16.19 -     rpath = (const char *) getenv ("LD_RUN_PATH");
   16.20 -+  if ((rpath) && (strlen (rpath) == 0))
   16.21 -+      rpath = NULL;
   16.22 -   if (! (bfd_elf_size_dynamic_sections
   16.23 - 	 (link_info.output_bfd, command_line.soname, rpath,
   16.24 - 	  command_line.filter_shlib,
    17.1 --- a/patches/binutils/2.18.50.0.8/130-i386-no-divide-comment.patch	Wed Oct 28 18:55:40 2009 +0100
    17.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.3 @@ -1,64 +0,0 @@
    17.4 -diff -durN binutils-2.18.50.0.8.orig/gas/config/tc-i386.c binutils-2.18.50.0.8/gas/config/tc-i386.c
    17.5 ---- binutils-2.18.50.0.8.orig/gas/config/tc-i386.c	2008-07-10 17:32:58.000000000 +0200
    17.6 -+++ binutils-2.18.50.0.8/gas/config/tc-i386.c	2008-09-22 09:12:39.000000000 +0200
    17.7 -@@ -313,24 +313,10 @@
    17.8 - #endif
    17.9 - 	;
   17.10 - 
   17.11 --#if (defined (TE_I386AIX)				\
   17.12 --     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
   17.13 --	 && !defined (TE_GNU)				\
   17.14 --	 && !defined (TE_LINUX)				\
   17.15 -- 	 && !defined (TE_NETWARE)			\
   17.16 --	 && !defined (TE_FreeBSD)			\
   17.17 --	 && !defined (TE_NetBSD)))
   17.18 - /* This array holds the chars that always start a comment.  If the
   17.19 --   pre-processor is disabled, these aren't very useful.  The option
   17.20 --   --divide will remove '/' from this list.  */
   17.21 --const char *i386_comment_chars = "#/";
   17.22 --#define SVR4_COMMENT_CHARS 1
   17.23 --#define PREFIX_SEPARATOR '\\'
   17.24 --
   17.25 --#else
   17.26 -+   pre-processor is disabled, these aren't very useful.  */
   17.27 - const char *i386_comment_chars = "#";
   17.28 - #define PREFIX_SEPARATOR '/'
   17.29 --#endif
   17.30 - 
   17.31 - /* This array holds the chars that only start a comment at the beginning of
   17.32 -    a line.  If the line seems to have the form '# 123 filename'
   17.33 -@@ -7952,20 +7938,6 @@
   17.34 -       break;
   17.35 - 
   17.36 -     case OPTION_DIVIDE:
   17.37 --#ifdef SVR4_COMMENT_CHARS
   17.38 --      {
   17.39 --	char *n, *t;
   17.40 --	const char *s;
   17.41 --
   17.42 --	n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
   17.43 --	t = n;
   17.44 --	for (s = i386_comment_chars; *s != '\0'; s++)
   17.45 --	  if (*s != '/')
   17.46 --	    *t++ = *s;
   17.47 --	*t = '\0';
   17.48 --	i386_comment_chars = n;
   17.49 --      }
   17.50 --#endif
   17.51 -       break;
   17.52 - 
   17.53 -     case OPTION_MARCH:
   17.54 -@@ -8116,13 +8088,8 @@
   17.55 -   fprintf (stream, _("\
   17.56 -   --32/--64               generate 32bit/64bit code\n"));
   17.57 - #endif
   17.58 --#ifdef SVR4_COMMENT_CHARS
   17.59 --  fprintf (stream, _("\
   17.60 --  --divide                do not treat `/' as a comment character\n"));
   17.61 --#else
   17.62 -   fprintf (stream, _("\
   17.63 -   --divide                ignored\n"));
   17.64 --#endif
   17.65 -   fprintf (stream, _("\
   17.66 -   -march=CPU[,+EXTENSION...]\n\
   17.67 -                           generate code for CPU and EXTENSION, CPU is one of:\n\
    18.1 --- a/patches/binutils/2.18.50.0.9/100-arm-uclibcgnueabi.patch	Wed Oct 28 18:55:40 2009 +0100
    18.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    18.3 @@ -1,24 +0,0 @@
    18.4 -diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
    18.5 ---- binutils-2.18.50.0.8.orig/configure	2008-07-10 17:32:56.000000000 +0200
    18.6 -+++ binutils-2.18.50.0.8/configure	2008-07-13 23:08:13.000000000 +0200
    18.7 -@@ -2313,7 +2313,7 @@
    18.8 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    18.9 -     libgloss_dir=arm
   18.10 -     ;;
   18.11 --  arm*-*-linux-gnueabi)
   18.12 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   18.13 -     noconfigdirs="$noconfigdirs target-qthreads"
   18.14 -     case ${with_newlib} in
   18.15 -       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
   18.16 -diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
   18.17 ---- binutils-2.18.50.0.8.orig/configure.ac	2008-07-10 17:32:56.000000000 +0200
   18.18 -+++ binutils-2.18.50.0.8/configure.ac	2008-07-13 23:08:13.000000000 +0200
   18.19 -@@ -562,7 +562,7 @@
   18.20 -     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
   18.21 -     libgloss_dir=arm
   18.22 -     ;;
   18.23 --  arm*-*-linux-gnueabi)
   18.24 -+  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
   18.25 -     noconfigdirs="$noconfigdirs target-qthreads"
   18.26 -     case ${with_newlib} in
   18.27 -       no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
    19.1 --- a/patches/binutils/2.18.50.0.9/110-ld-makefile-path.patch	Wed Oct 28 18:55:40 2009 +0100
    19.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.3 @@ -1,24 +0,0 @@
    19.4 -diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.am binutils-2.18.50.0.8/ld/Makefile.am
    19.5 ---- binutils-2.18.50.0.8.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
    19.6 -+++ binutils-2.18.50.0.8/ld/Makefile.am	2008-07-13 23:15:40.000000000 +0200
    19.7 -@@ -18,7 +18,7 @@
    19.8 - # We put the scripts in the directory $(scriptdir)/ldscripts.
    19.9 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   19.10 - # directives need to be different for native and cross linkers.
   19.11 --scriptdir = $(tooldir)/lib
   19.12 -+scriptdir = $(libdir)
   19.13 - 
   19.14 - EMUL = @EMUL@
   19.15 - EMULATION_OFILES = @EMULATION_OFILES@
   19.16 -diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.in binutils-2.18.50.0.8/ld/Makefile.in
   19.17 ---- binutils-2.18.50.0.8.orig/ld/Makefile.in	2008-07-10 17:32:58.000000000 +0200
   19.18 -+++ binutils-2.18.50.0.8/ld/Makefile.in	2008-07-13 23:15:40.000000000 +0200
   19.19 -@@ -290,7 +290,7 @@
   19.20 - # We put the scripts in the directory $(scriptdir)/ldscripts.
   19.21 - # We can't put the scripts in $(datadir) because the SEARCH_DIR
   19.22 - # directives need to be different for native and cross linkers.
   19.23 --scriptdir = $(tooldir)/lib
   19.24 -+scriptdir = $(libdir)
   19.25 - BASEDIR = $(srcdir)/..
   19.26 - BFDDIR = $(BASEDIR)/bfd
   19.27 - INCDIR = $(BASEDIR)/include
    20.1 --- a/patches/binutils/2.18.50.0.9/120-check-ldrunpath-length.patch	Wed Oct 28 18:55:40 2009 +0100
    20.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.3 @@ -1,21 +0,0 @@
    20.4 -diff -durN binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em binutils-2.18.50.0.8/ld/emultempl/elf32.em
    20.5 ---- binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em	2008-07-10 17:33:23.000000000 +0200
    20.6 -+++ binutils-2.18.50.0.8/ld/emultempl/elf32.em	2008-07-13 23:19:29.000000000 +0200
    20.7 -@@ -1220,6 +1220,8 @@
    20.8 - 	      && command_line.rpath == NULL)
    20.9 - 	    {
   20.10 - 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
   20.11 -+	      if ((lib_path) && (strlen (lib_path) == 0))
   20.12 -+		  lib_path = NULL;
   20.13 - 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
   20.14 - 						      force))
   20.15 - 		break;
   20.16 -@@ -1405,6 +1407,8 @@
   20.17 -   rpath = command_line.rpath;
   20.18 -   if (rpath == NULL)
   20.19 -     rpath = (const char *) getenv ("LD_RUN_PATH");
   20.20 -+  if ((rpath) && (strlen (rpath) == 0))
   20.21 -+      rpath = NULL;
   20.22 -   if (! (bfd_elf_size_dynamic_sections
   20.23 - 	 (link_info.output_bfd, command_line.soname, rpath,
   20.24 - 	  command_line.filter_shlib,
    21.1 --- a/patches/binutils/2.18.50.0.9/130-i386-no-divide-comment.patch	Wed Oct 28 18:55:40 2009 +0100
    21.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
    21.3 @@ -1,64 +0,0 @@
    21.4 -diff -durN binutils-2.18.50.0.8.orig/gas/config/tc-i386.c binutils-2.18.50.0.8/gas/config/tc-i386.c
    21.5 ---- binutils-2.18.50.0.8.orig/gas/config/tc-i386.c	2008-07-10 17:32:58.000000000 +0200
    21.6 -+++ binutils-2.18.50.0.8/gas/config/tc-i386.c	2008-09-22 09:12:39.000000000 +0200
    21.7 -@@ -313,24 +313,10 @@
    21.8 - #endif
    21.9 - 	;
   21.10 - 
   21.11 --#if (defined (TE_I386AIX)				\
   21.12 --     || ((defined (OBJ_ELF) || defined (OBJ_MAYBE_ELF))	\
   21.13 --	 && !defined (TE_GNU)				\
   21.14 --	 && !defined (TE_LINUX)				\
   21.15 -- 	 && !defined (TE_NETWARE)			\
   21.16 --	 && !defined (TE_FreeBSD)			\
   21.17 --	 && !defined (TE_NetBSD)))
   21.18 - /* This array holds the chars that always start a comment.  If the
   21.19 --   pre-processor is disabled, these aren't very useful.  The option
   21.20 --   --divide will remove '/' from this list.  */
   21.21 --const char *i386_comment_chars = "#/";
   21.22 --#define SVR4_COMMENT_CHARS 1
   21.23 --#define PREFIX_SEPARATOR '\\'
   21.24 --
   21.25 --#else
   21.26 -+   pre-processor is disabled, these aren't very useful.  */
   21.27 - const char *i386_comment_chars = "#";
   21.28 - #define PREFIX_SEPARATOR '/'
   21.29 --#endif
   21.30 - 
   21.31 - /* This array holds the chars that only start a comment at the beginning of
   21.32 -    a line.  If the line seems to have the form '# 123 filename'
   21.33 -@@ -7952,20 +7938,6 @@
   21.34 -       break;
   21.35 - 
   21.36 -     case OPTION_DIVIDE:
   21.37 --#ifdef SVR4_COMMENT_CHARS
   21.38 --      {
   21.39 --	char *n, *t;
   21.40 --	const char *s;
   21.41 --
   21.42 --	n = (char *) xmalloc (strlen (i386_comment_chars) + 1);
   21.43 --	t = n;
   21.44 --	for (s = i386_comment_chars; *s != '\0'; s++)
   21.45 --	  if (*s != '/')
   21.46 --	    *t++ = *s;
   21.47 --	*t = '\0';
   21.48 --	i386_comment_chars = n;
   21.49 --      }
   21.50 --#endif
   21.51 -       break;
   21.52 - 
   21.53 -     case OPTION_MARCH:
   21.54 -@@ -8116,13 +8088,8 @@
   21.55 -   fprintf (stream, _("\
   21.56 -   --32/--64               generate 32bit/64bit code\n"));
   21.57 - #endif
   21.58 --#ifdef SVR4_COMMENT_CHARS
   21.59 --  fprintf (stream, _("\
   21.60 --  --divide                do not treat `/' as a comment character\n"));
   21.61 --#else
   21.62 -   fprintf (stream, _("\
   21.63 -   --divide                ignored\n"));
   21.64 --#endif
   21.65 -   fprintf (stream, _("\
   21.66 -   -march=CPU[,+EXTENSION...]\n\
   21.67 -                           generate code for CPU and EXTENSION, CPU is one of:\n\