Add latest binutils snapshot, and propagate patches from previous snapshot.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Thu May 15 16:47:50 2008 +0000 (2008-05-15)
changeset 506ac951c5d22cb
parent 505 d35e8a1dc23a
child 507 f4145eeecb1d
Add latest binutils snapshot, and propagate patches from previous snapshot.

/trunk/config/binutils.in | 6 6 0 0 ++++++
1 file changed, 6 insertions(+)
config/binutils.in
patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch
patches/binutils/2.18.50.0.7/200-ld-makefile-path.patch
patches/binutils/2.18.50.0.7/300-check-ldrunpath-length.patch
     1.1 --- a/config/binutils.in	Thu May 15 16:39:55 2008 +0000
     1.2 +++ b/config/binutils.in	Thu May 15 16:47:50 2008 +0000
     1.3 @@ -41,6 +41,11 @@
     1.4      prompt "2.18.50.0.6 (EXPERIMENTAL)"
     1.5      depends on EXPERIMENTAL
     1.6  
     1.7 +config BINUTILS_V_2_18_50_0_7
     1.8 +    bool
     1.9 +    prompt "2.18.50.0.7 (EXPERIMENTAL)"
    1.10 +    depends on EXPERIMENTAL
    1.11 +
    1.12  # CT_INSERT_VERSION_ABOVE
    1.13  # Don't remove above line!
    1.14  endchoice
    1.15 @@ -54,6 +59,7 @@
    1.16      default "2.18" if BINUTILS_V_2_18
    1.17      default "2.18.50.0.4" if BINUTILS_V_2_18_50_0_4
    1.18      default "2.18.50.0.6" if BINUTILS_V_2_18_50_0_6
    1.19 +    default "2.18.50.0.7" if BINUTILS_V_2_18_50_0_7
    1.20  # CT_INSERT_VERSION_STRING_ABOVE
    1.21  # Don't remove above line!
    1.22  
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/patches/binutils/2.18.50.0.7/100-arm-uclibcgnueabi.patch	Thu May 15 16:47:50 2008 +0000
     2.3 @@ -0,0 +1,30 @@
     2.4 +Patch from buildroot, updated to binutils-2.18.50.0.6.
     2.5 +
     2.6 + binutils-2.18.50.0.6/configure    |    2     1     1     0 +-
     2.7 + binutils-2.18.50.0.6/configure.ac |    2     1     1     0 +-
     2.8 + 2 files changed, 2 insertions(+), 2 deletions(-)
     2.9 +
    2.10 +diff -durN binutils-2.18.50.0.6.orig/configure binutils-2.18.50.0.6/configure
    2.11 +--- binutils-2.18.50.0.6.orig/configure	2008-04-03 18:54:04.000000000 +0200
    2.12 ++++ binutils-2.18.50.0.6/configure	2008-05-02 23:18:42.000000000 +0200
    2.13 +@@ -2298,7 +2298,7 @@
    2.14 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.15 +     libgloss_dir=arm
    2.16 +     ;;
    2.17 +-  arm*-*-linux-gnueabi)
    2.18 ++  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.19 +     noconfigdirs="$noconfigdirs target-qthreads"
    2.20 +     noconfigdirs="$noconfigdirs target-libobjc"
    2.21 +     case ${with_newlib} in
    2.22 +diff -durN binutils-2.18.50.0.6.orig/configure.ac binutils-2.18.50.0.6/configure.ac
    2.23 +--- binutils-2.18.50.0.6.orig/configure.ac	2008-04-03 18:54:04.000000000 +0200
    2.24 ++++ binutils-2.18.50.0.6/configure.ac	2008-05-02 23:18:01.000000000 +0200
    2.25 +@@ -560,7 +560,7 @@
    2.26 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.27 +     libgloss_dir=arm
    2.28 +     ;;
    2.29 +-  arm*-*-linux-gnueabi)
    2.30 ++  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.31 +     noconfigdirs="$noconfigdirs target-qthreads"
    2.32 +     noconfigdirs="$noconfigdirs target-libobjc"
    2.33 +     case ${with_newlib} in
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/patches/binutils/2.18.50.0.7/200-ld-makefile-path.patch	Thu May 15 16:47:50 2008 +0000
     3.3 @@ -0,0 +1,30 @@
     3.4 +Fix ld scripts path, copied from buildroot.
     3.5 +
     3.6 + binutils-2.18.50.0.6/ld/Makefile.am |    2     1     1     0 +-
     3.7 + binutils-2.18.50.0.6/ld/Makefile.in |    2     1     1     0 +-
     3.8 + 2 files changed, 2 insertions(+), 2 deletions(-)
     3.9 +
    3.10 +diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.am binutils-2.18.50.0.6/ld/Makefile.am
    3.11 +--- binutils-2.18.50.0.6.orig/ld/Makefile.am	2008-04-03 18:54:05.000000000 +0200
    3.12 ++++ binutils-2.18.50.0.6/ld/Makefile.am	2008-05-02 23:25:14.000000000 +0200
    3.13 +@@ -18,7 +18,7 @@
    3.14 + # We put the scripts in the directory $(scriptdir)/ldscripts.
    3.15 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.16 + # directives need to be different for native and cross linkers.
    3.17 +-scriptdir = $(tooldir)/lib
    3.18 ++scriptdir = $(libdir)
    3.19 + 
    3.20 + EMUL = @EMUL@
    3.21 + EMULATION_OFILES = @EMULATION_OFILES@
    3.22 +diff -durN binutils-2.18.50.0.6.orig/ld/Makefile.in binutils-2.18.50.0.6/ld/Makefile.in
    3.23 +--- binutils-2.18.50.0.6.orig/ld/Makefile.in	2008-04-03 18:54:05.000000000 +0200
    3.24 ++++ binutils-2.18.50.0.6/ld/Makefile.in	2008-05-02 23:25:14.000000000 +0200
    3.25 +@@ -288,7 +288,7 @@
    3.26 + # We put the scripts in the directory $(scriptdir)/ldscripts.
    3.27 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.28 + # directives need to be different for native and cross linkers.
    3.29 +-scriptdir = $(tooldir)/lib
    3.30 ++scriptdir = $(libdir)
    3.31 + BASEDIR = $(srcdir)/..
    3.32 + BFDDIR = $(BASEDIR)/bfd
    3.33 + INCDIR = $(BASEDIR)/include
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/patches/binutils/2.18.50.0.7/300-check-ldrunpath-length.patch	Thu May 15 16:47:50 2008 +0000
     4.3 @@ -0,0 +1,26 @@
     4.4 +Check LD_RUN_PATH length, copied from buildroot.
     4.5 +
     4.6 + binutils-2.18.50.0.6/ld/emultempl/elf32.em |    4     4     0     0 ++++
     4.7 + 1 file changed, 4 insertions(+)
     4.8 +
     4.9 +diff -durN binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em binutils-2.18.50.0.6/ld/emultempl/elf32.em
    4.10 +--- binutils-2.18.50.0.6.orig/ld/emultempl/elf32.em	2008-04-03 18:54:25.000000000 +0200
    4.11 ++++ binutils-2.18.50.0.6/ld/emultempl/elf32.em	2008-05-02 23:30:08.000000000 +0200
    4.12 +@@ -1220,6 +1220,8 @@
    4.13 + 	      && command_line.rpath == NULL)
    4.14 + 	    {
    4.15 + 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
    4.16 ++	      if ((lib_path) && (strlen (lib_path) == 0))
    4.17 ++		  lib_path = NULL;
    4.18 + 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
    4.19 + 						      force))
    4.20 + 		break;
    4.21 +@@ -1405,6 +1407,8 @@
    4.22 +   rpath = command_line.rpath;
    4.23 +   if (rpath == NULL)
    4.24 +     rpath = (const char *) getenv ("LD_RUN_PATH");
    4.25 ++  if ((rpath) && (strlen (rpath) == 0))
    4.26 ++      rpath = NULL;
    4.27 +   if (! (bfd_elf_size_dynamic_sections
    4.28 + 	 (link_info.output_bfd, command_line.soname, rpath,
    4.29 + 	  command_line.filter_shlib,