Add experimental binutils-2.17.50.0.18, along with patches from previous snapshot.
author"Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Sun Aug 12 08:05:57 2007 +0000 (2007-08-12)
changeset 32558e56ab91bd0
parent 324 04b1dfca8a43
child 326 7344f3cc38fa
Add experimental binutils-2.17.50.0.18, along with patches from previous snapshot.
config/binutils.in
patches/binutils/2.17.50.0.18/110-arm-eabi-conf.patch
patches/binutils/2.17.50.0.18/300-001_ld_makefile_patch.patch
patches/binutils/2.17.50.0.18/300-012_check_ldrunpath_length.patch
     1.1 --- a/config/binutils.in	Sat Aug 11 14:59:36 2007 +0000
     1.2 +++ b/config/binutils.in	Sun Aug 12 08:05:57 2007 +0000
     1.3 @@ -146,6 +146,11 @@
     1.4      prompt "2.17.50.0.17"
     1.5      depends on EXPERIMENTAL
     1.6  
     1.7 +config BINUTILS_V_2_17_50_0_18
     1.8 +    bool
     1.9 +    prompt "2.17.50.0.18 (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 @@ -180,6 +185,7 @@
    1.16      default "2.17.50.0.15" if BINUTILS_V_2_17_50_0_15
    1.17      default "2.17.50.0.16" if BINUTILS_V_2_17_50_0_16
    1.18      default "2.17.50.0.17" if BINUTILS_V_2_17_50_0_17
    1.19 +    default "2.17.50.0.18" if BINUTILS_V_2_17_50_0_18
    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.17.50.0.18/110-arm-eabi-conf.patch	Sun Aug 12 08:05:57 2007 +0000
     2.3 @@ -0,0 +1,24 @@
     2.4 +diff -u binutils-2.17.50.0.17.oorig/configure binutils-2.17.50.0.17/configure
     2.5 +--- binutils-2.17.50.0.17.oorig/configure	2007-06-18 19:29:28.000000000 +0200
     2.6 ++++ binutils-2.17.50.0.17/configure	2007-06-25 09:58:36.000000000 +0200
     2.7 +@@ -2224,7 +2224,7 @@
     2.8 +   arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
     2.9 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.10 +     ;;
    2.11 +-  arm*-*-linux-gnueabi)
    2.12 ++  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.13 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.14 +     noconfigdirs="$noconfigdirs target-libjava target-libobjc"
    2.15 +     ;;
    2.16 +diff -u binutils-2.17.50.0.17.oorig/configure.ac binutils-2.17.50.0.17/configure.ac
    2.17 +--- binutils-2.17.50.0.17.oorig/configure.ac	2007-06-18 19:29:28.000000000 +0200
    2.18 ++++ binutils-2.17.50.0.17/configure.ac	2007-06-25 09:58:36.000000000 +0200
    2.19 +@@ -513,7 +513,7 @@
    2.20 +   arm-*-elf* | strongarm-*-elf* | xscale-*-elf* | arm*-*-eabi* )
    2.21 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.22 +     ;;
    2.23 +-  arm*-*-linux-gnueabi)
    2.24 ++  arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
    2.25 +     noconfigdirs="$noconfigdirs target-libffi target-qthreads"
    2.26 +     noconfigdirs="$noconfigdirs target-libjava target-libobjc"
    2.27 +     ;;
     3.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     3.2 +++ b/patches/binutils/2.17.50.0.18/300-001_ld_makefile_patch.patch	Sun Aug 12 08:05:57 2007 +0000
     3.3 @@ -0,0 +1,24 @@
     3.4 +diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.am binutils-2.17.50.0.17/ld/Makefile.am
     3.5 +--- binutils-2.17.50.0.17.oorig/ld/Makefile.am	2007-06-18 19:29:29.000000000 +0200
     3.6 ++++ binutils-2.17.50.0.17/ld/Makefile.am	2007-06-25 10:00:36.000000000 +0200
     3.7 +@@ -18,7 +18,7 @@
     3.8 + # We put the scripts in the directory $(scriptdir)/ldscripts.
     3.9 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.10 + # directives need to be different for native and cross linkers.
    3.11 +-scriptdir = $(tooldir)/lib
    3.12 ++scriptdir = $(libdir)
    3.13 + 
    3.14 + EMUL = @EMUL@
    3.15 + EMULATION_OFILES = @EMULATION_OFILES@
    3.16 +diff -u binutils-2.17.50.0.17.oorig/ld/Makefile.in binutils-2.17.50.0.17/ld/Makefile.in
    3.17 +--- binutils-2.17.50.0.17.oorig/ld/Makefile.in	2007-06-18 19:29:29.000000000 +0200
    3.18 ++++ binutils-2.17.50.0.17/ld/Makefile.in	2007-06-25 10:00:36.000000000 +0200
    3.19 +@@ -287,7 +287,7 @@
    3.20 + # We put the scripts in the directory $(scriptdir)/ldscripts.
    3.21 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
    3.22 + # directives need to be different for native and cross linkers.
    3.23 +-scriptdir = $(tooldir)/lib
    3.24 ++scriptdir = $(libdir)
    3.25 + BASEDIR = $(srcdir)/..
    3.26 + BFDDIR = $(BASEDIR)/bfd
    3.27 + INCDIR = $(BASEDIR)/include
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/patches/binutils/2.17.50.0.18/300-012_check_ldrunpath_length.patch	Sun Aug 12 08:05:57 2007 +0000
     4.3 @@ -0,0 +1,21 @@
     4.4 +diff -u binutils-2.17.50.0.17.oorig/ld/emultempl/elf32.em binutils-2.17.50.0.17/ld/emultempl/elf32.em
     4.5 +--- binutils-2.17.50.0.17.oorig/ld/emultempl/elf32.em	2007-06-18 19:31:40.000000000 +0200
     4.6 ++++ binutils-2.17.50.0.17/ld/emultempl/elf32.em	2007-06-25 10:01:25.000000000 +0200
     4.7 +@@ -1007,6 +1007,8 @@
     4.8 + 	      && command_line.rpath == NULL)
     4.9 + 	    {
    4.10 + 	      lib_path = (const char *) getenv ("LD_RUN_PATH");
    4.11 ++	      if ((lib_path) && (strlen (lib_path) == 0))
    4.12 ++		  lib_path = NULL;
    4.13 + 	      if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
    4.14 + 						      force))
    4.15 + 		break;
    4.16 +@@ -1191,6 +1193,8 @@
    4.17 +   rpath = command_line.rpath;
    4.18 +   if (rpath == NULL)
    4.19 +     rpath = (const char *) getenv ("LD_RUN_PATH");
    4.20 ++  if ((rpath) && (strlen (rpath) == 0))
    4.21 ++      rpath = NULL;
    4.22 +   if (! (bfd_elf_size_dynamic_sections
    4.23 + 	 (output_bfd, command_line.soname, rpath,
    4.24 + 	  command_line.filter_shlib,