From c367de39fa581835001306836048d83f56a0f8b1 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Fri, 10 Dec 2010 10:58:54 +0100 Subject: [PATCH] binutils: update to binutils-2.21 Signed-off-by: Stephan Raue --- packages/toolchain/devel/binutils/build | 3 +- packages/toolchain/devel/binutils/meta | 5 +- ...=> binutils-2.21-multi_os_directory.patch} | 60 +++++++++---------- ...y.patch => binutils-2.21-visibility.patch} | 6 +- 4 files changed, 38 insertions(+), 36 deletions(-) rename packages/toolchain/devel/binutils/patches/{binutils-2.21.51.0.1-multi_os_directory.patch => binutils-2.21-multi_os_directory.patch} (63%) rename packages/toolchain/devel/binutils/patches/{binutils-2.21.51.0.1-visibility.patch => binutils-2.21-visibility.patch} (87%) diff --git a/packages/toolchain/devel/binutils/build b/packages/toolchain/devel/binutils/build index ba49bbd59d..c3c7ccdb8d 100755 --- a/packages/toolchain/devel/binutils/build +++ b/packages/toolchain/devel/binutils/build @@ -32,7 +32,8 @@ mkdir -p objdir && cd objdir --enable-version-specific-runtime-libs \ $WITH_64B_BFD \ --enable-plugins \ - --enable-gold=both/ld \ + --enable-gold \ + --enable-ld=default \ --enable-lto \ --disable-nls diff --git a/packages/toolchain/devel/binutils/meta b/packages/toolchain/devel/binutils/meta index a225767dc3..822d31699c 100644 --- a/packages/toolchain/devel/binutils/meta +++ b/packages/toolchain/devel/binutils/meta @@ -1,10 +1,11 @@ PKG_NAME="binutils" -PKG_VERSION="2.21.51.0.1" +PKG_VERSION="2.21" PKG_REV="1" PKG_ARCH="any" PKG_LICENSE="GPL" PKG_SITE="http://www.gnu.org/software/binutils/binutils.html" -PKG_URL="ftp://ftp.kernel.org/pub/linux/devel/binutils/$PKG_NAME-$PKG_VERSION.tar.bz2" +PKG_URL="http://ftp.gnu.org/gnu/binutils/$PKG_NAME-$PKG_VERSION.tar.bz2" +#PKG_URL="ftp://ftp.kernel.org/pub/linux/devel/binutils/$PKG_NAME-$PKG_VERSION.tar.bz2" PKG_DEPENDS="" PKG_BUILD_DEPENDS="ccache linux-headers gmp mpfr ppl cloog-ppl libelf" PKG_PRIORITY="optional" diff --git a/packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-multi_os_directory.patch b/packages/toolchain/devel/binutils/patches/binutils-2.21-multi_os_directory.patch similarity index 63% rename from packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-multi_os_directory.patch rename to packages/toolchain/devel/binutils/patches/binutils-2.21-multi_os_directory.patch index c9a428c9ab..852874d88a 100644 --- a/packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-multi_os_directory.patch +++ b/packages/toolchain/devel/binutils/patches/binutils-2.21-multi_os_directory.patch @@ -1,7 +1,7 @@ -diff -Naur binutils-2.20.51.0.9-old/bfd/configure binutils-2.20.51.0.9-new/bfd/configure ---- binutils-2.20.51.0.9-old/bfd/configure 2010-05-27 11:22:20.000000000 -0700 -+++ binutils-2.20.51.0.9-new/bfd/configure 2010-05-27 16:15:59.000000000 -0700 -@@ -10320,7 +10320,7 @@ +diff -Naur binutils-2.21-old/bfd/configure binutils-2.21-new/bfd/configure +--- binutils-2.21-old/bfd/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/bfd/configure 2010-12-08 07:12:23.000000000 -0800 +@@ -10326,7 +10326,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -10,10 +10,10 @@ diff -Naur binutils-2.20.51.0.9-old/bfd/configure binutils-2.20.51.0.9-new/bfd/c for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/binutils/configure binutils-2.20.51.0.9-new/binutils/configure ---- binutils-2.20.51.0.9-old/binutils/configure 2010-05-27 11:22:22.000000000 -0700 -+++ binutils-2.20.51.0.9-new/binutils/configure 2010-05-27 16:15:59.000000000 -0700 -@@ -10114,7 +10114,7 @@ +diff -Naur binutils-2.21-old/binutils/configure binutils-2.21-new/binutils/configure +--- binutils-2.21-old/binutils/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/binutils/configure 2010-12-08 07:12:23.000000000 -0800 +@@ -10120,7 +10120,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -22,10 +22,10 @@ diff -Naur binutils-2.20.51.0.9-old/binutils/configure binutils-2.20.51.0.9-new/ for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/gas/configure binutils-2.20.51.0.9-new/gas/configure ---- binutils-2.20.51.0.9-old/gas/configure 2010-04-13 06:26:42.000000000 -0700 -+++ binutils-2.20.51.0.9-new/gas/configure 2010-05-27 16:15:59.000000000 -0700 -@@ -10101,7 +10101,7 @@ +diff -Naur binutils-2.21-old/gas/configure binutils-2.21-new/gas/configure +--- binutils-2.21-old/gas/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/gas/configure 2010-12-08 07:12:23.000000000 -0800 +@@ -10109,7 +10109,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -34,9 +34,9 @@ diff -Naur binutils-2.20.51.0.9-old/gas/configure binutils-2.20.51.0.9-new/gas/c for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/gprof/configure binutils-2.20.51.0.9-new/gprof/configure ---- binutils-2.20.51.0.9-old/gprof/configure 2010-04-13 06:26:45.000000000 -0700 -+++ binutils-2.20.51.0.9-new/gprof/configure 2010-05-27 16:15:59.000000000 -0700 +diff -Naur binutils-2.21-old/gprof/configure binutils-2.21-new/gprof/configure +--- binutils-2.21-old/gprof/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/gprof/configure 2010-12-08 07:12:23.000000000 -0800 @@ -10039,7 +10039,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. @@ -46,10 +46,10 @@ diff -Naur binutils-2.20.51.0.9-old/gprof/configure binutils-2.20.51.0.9-new/gpr for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/ld/configure binutils-2.20.51.0.9-new/ld/configure ---- binutils-2.20.51.0.9-old/ld/configure 2010-05-27 11:22:31.000000000 -0700 -+++ binutils-2.20.51.0.9-new/ld/configure 2010-05-27 16:15:59.000000000 -0700 -@@ -10528,7 +10528,7 @@ +diff -Naur binutils-2.21-old/ld/configure binutils-2.21-new/ld/configure +--- binutils-2.21-old/ld/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/ld/configure 2010-12-08 07:12:23.000000000 -0800 +@@ -10536,7 +10536,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= @@ -58,10 +58,10 @@ diff -Naur binutils-2.20.51.0.9-old/ld/configure binutils-2.20.51.0.9-new/ld/con for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/libiberty/Makefile.in binutils-2.20.51.0.9-new/libiberty/Makefile.in ---- binutils-2.20.51.0.9-old/libiberty/Makefile.in 2010-05-27 11:22:33.000000000 -0700 -+++ binutils-2.20.51.0.9-new/libiberty/Makefile.in 2010-05-27 16:15:59.000000000 -0700 -@@ -327,7 +327,7 @@ +diff -Naur binutils-2.21-old/libiberty/Makefile.in binutils-2.21-new/libiberty/Makefile.in +--- binutils-2.21-old/libiberty/Makefile.in 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/libiberty/Makefile.in 2010-12-08 07:12:23.000000000 -0800 +@@ -346,7 +346,7 @@ # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the # default multilib, so we have to take CFLAGS into account as well, # since it will be passed the multilib flags. @@ -70,9 +70,9 @@ diff -Naur binutils-2.20.51.0.9-old/libiberty/Makefile.in binutils-2.20.51.0.9-n install_to_libdir: all ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR) $(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n -diff -Naur binutils-2.20.51.0.9-old/libtool.m4 binutils-2.20.51.0.9-new/libtool.m4 ---- binutils-2.20.51.0.9-old/libtool.m4 2010-01-15 09:05:56.000000000 -0800 -+++ binutils-2.20.51.0.9-new/libtool.m4 2010-05-27 16:15:59.000000000 -0700 +diff -Naur binutils-2.21-old/libtool.m4 binutils-2.21-new/libtool.m4 +--- binutils-2.21-old/libtool.m4 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/libtool.m4 2010-12-08 07:12:23.000000000 -0800 @@ -2043,7 +2043,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. @@ -82,10 +82,10 @@ diff -Naur binutils-2.20.51.0.9-old/libtool.m4 binutils-2.20.51.0.9-new/libtool. for lt_sys_path in $lt_search_path_spec; do if test -d "$lt_sys_path/$lt_multi_os_dir"; then lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir" -diff -Naur binutils-2.20.51.0.9-old/opcodes/configure binutils-2.20.51.0.9-new/opcodes/configure ---- binutils-2.20.51.0.9-old/opcodes/configure 2010-04-13 06:26:47.000000000 -0700 -+++ binutils-2.20.51.0.9-new/opcodes/configure 2010-05-27 16:15:59.000000000 -0700 -@@ -10050,7 +10050,7 @@ +diff -Naur binutils-2.21-old/opcodes/configure binutils-2.21-new/opcodes/configure +--- binutils-2.21-old/opcodes/configure 2010-12-08 07:11:15.000000000 -0800 ++++ binutils-2.21-new/opcodes/configure 2010-12-08 07:12:23.000000000 -0800 +@@ -10056,7 +10056,7 @@ # Ok, now we have the path, separated by spaces, we can step through it # and add multilib dir if necessary. lt_tmp_lt_search_path_spec= diff --git a/packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-visibility.patch b/packages/toolchain/devel/binutils/patches/binutils-2.21-visibility.patch similarity index 87% rename from packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-visibility.patch rename to packages/toolchain/devel/binutils/patches/binutils-2.21-visibility.patch index 58067c1e86..b58aa75087 100644 --- a/packages/toolchain/devel/binutils/patches/binutils-2.21.51.0.1-visibility.patch +++ b/packages/toolchain/devel/binutils/patches/binutils-2.21-visibility.patch @@ -1,6 +1,6 @@ -diff -Naur binutils-2.20.51.0.12-old/gold/plugin.cc binutils-2.20.51.0.12-new/gold/plugin.cc ---- binutils-2.20.51.0.12-old/gold/plugin.cc 2010-10-22 06:41:04.000000000 -0700 -+++ binutils-2.20.51.0.12-new/gold/plugin.cc 2010-10-23 06:03:56.000000000 -0700 +diff -Naur binutils-2.21-old/gold/plugin.cc binutils-2.21-new/gold/plugin.cc +--- binutils-2.21-old/gold/plugin.cc 2010-10-14 15:10:22.000000000 -0700 ++++ binutils-2.21-new/gold/plugin.cc 2010-12-08 07:11:30.000000000 -0800 @@ -668,28 +668,50 @@ break; }