Add binutils-2.18.50.0.8 pathset, copied and rebased from 2.18.50.0.7.
/trunk/patches/binutils/2.18.50.0.8/200-ld-makefile-path.patch | 24 24 0 0 ++++++++++
/trunk/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch | 24 24 0 0 ++++++++++
/trunk/patches/binutils/2.18.50.0.8/300-check-ldrunpath-length.patch | 21 21 0 0 +++++++++
3 files changed, 69 insertions(+)
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/patches/binutils/2.18.50.0.8/100-arm-uclibcgnueabi.patch Mon Jul 14 08:41:50 2008 +0000
1.3 @@ -0,0 +1,24 @@
1.4 +diff -durN binutils-2.18.50.0.8.orig/configure binutils-2.18.50.0.8/configure
1.5 +--- binutils-2.18.50.0.8.orig/configure 2008-07-10 17:32:56.000000000 +0200
1.6 ++++ binutils-2.18.50.0.8/configure 2008-07-13 23:08:13.000000000 +0200
1.7 +@@ -2313,7 +2313,7 @@
1.8 + noconfigdirs="$noconfigdirs target-libffi target-qthreads"
1.9 + libgloss_dir=arm
1.10 + ;;
1.11 +- arm*-*-linux-gnueabi)
1.12 ++ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
1.13 + noconfigdirs="$noconfigdirs target-qthreads"
1.14 + case ${with_newlib} in
1.15 + no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
1.16 +diff -durN binutils-2.18.50.0.8.orig/configure.ac binutils-2.18.50.0.8/configure.ac
1.17 +--- binutils-2.18.50.0.8.orig/configure.ac 2008-07-10 17:32:56.000000000 +0200
1.18 ++++ binutils-2.18.50.0.8/configure.ac 2008-07-13 23:08:13.000000000 +0200
1.19 +@@ -562,7 +562,7 @@
1.20 + noconfigdirs="$noconfigdirs target-libffi target-qthreads"
1.21 + libgloss_dir=arm
1.22 + ;;
1.23 +- arm*-*-linux-gnueabi)
1.24 ++ arm*-*-linux-gnueabi | arm*-*-linux-uclibcgnueabi)
1.25 + noconfigdirs="$noconfigdirs target-qthreads"
1.26 + case ${with_newlib} in
1.27 + no) noconfigdirs="$noconfigdirs target-newlib target-libgloss"
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
2.2 +++ b/patches/binutils/2.18.50.0.8/200-ld-makefile-path.patch Mon Jul 14 08:41:50 2008 +0000
2.3 @@ -0,0 +1,24 @@
2.4 +diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.am binutils-2.18.50.0.8/ld/Makefile.am
2.5 +--- binutils-2.18.50.0.8.orig/ld/Makefile.am 2008-04-03 18:54:05.000000000 +0200
2.6 ++++ binutils-2.18.50.0.8/ld/Makefile.am 2008-07-13 23:15:40.000000000 +0200
2.7 +@@ -18,7 +18,7 @@
2.8 + # We put the scripts in the directory $(scriptdir)/ldscripts.
2.9 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
2.10 + # directives need to be different for native and cross linkers.
2.11 +-scriptdir = $(tooldir)/lib
2.12 ++scriptdir = $(libdir)
2.13 +
2.14 + EMUL = @EMUL@
2.15 + EMULATION_OFILES = @EMULATION_OFILES@
2.16 +diff -durN binutils-2.18.50.0.8.orig/ld/Makefile.in binutils-2.18.50.0.8/ld/Makefile.in
2.17 +--- binutils-2.18.50.0.8.orig/ld/Makefile.in 2008-07-10 17:32:58.000000000 +0200
2.18 ++++ binutils-2.18.50.0.8/ld/Makefile.in 2008-07-13 23:15:40.000000000 +0200
2.19 +@@ -290,7 +290,7 @@
2.20 + # We put the scripts in the directory $(scriptdir)/ldscripts.
2.21 + # We can't put the scripts in $(datadir) because the SEARCH_DIR
2.22 + # directives need to be different for native and cross linkers.
2.23 +-scriptdir = $(tooldir)/lib
2.24 ++scriptdir = $(libdir)
2.25 + BASEDIR = $(srcdir)/..
2.26 + BFDDIR = $(BASEDIR)/bfd
2.27 + INCDIR = $(BASEDIR)/include
3.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
3.2 +++ b/patches/binutils/2.18.50.0.8/300-check-ldrunpath-length.patch Mon Jul 14 08:41:50 2008 +0000
3.3 @@ -0,0 +1,21 @@
3.4 +diff -durN binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em binutils-2.18.50.0.8/ld/emultempl/elf32.em
3.5 +--- binutils-2.18.50.0.8.orig/ld/emultempl/elf32.em 2008-07-10 17:33:23.000000000 +0200
3.6 ++++ binutils-2.18.50.0.8/ld/emultempl/elf32.em 2008-07-13 23:19:29.000000000 +0200
3.7 +@@ -1220,6 +1220,8 @@
3.8 + && command_line.rpath == NULL)
3.9 + {
3.10 + lib_path = (const char *) getenv ("LD_RUN_PATH");
3.11 ++ if ((lib_path) && (strlen (lib_path) == 0))
3.12 ++ lib_path = NULL;
3.13 + if (gld${EMULATION_NAME}_search_needed (lib_path, &n,
3.14 + force))
3.15 + break;
3.16 +@@ -1405,6 +1407,8 @@
3.17 + rpath = command_line.rpath;
3.18 + if (rpath == NULL)
3.19 + rpath = (const char *) getenv ("LD_RUN_PATH");
3.20 ++ if ((rpath) && (strlen (rpath) == 0))
3.21 ++ rpath = NULL;
3.22 + if (! (bfd_elf_size_dynamic_sections
3.23 + (link_info.output_bfd, command_line.soname, rpath,
3.24 + command_line.filter_shlib,