binutils: update to binutils-2.21

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-12-10 10:58:54 +01:00
parent a1e11e55c9
commit c367de39fa
4 changed files with 38 additions and 36 deletions

View File

@ -32,7 +32,8 @@ mkdir -p objdir && cd objdir
--enable-version-specific-runtime-libs \ --enable-version-specific-runtime-libs \
$WITH_64B_BFD \ $WITH_64B_BFD \
--enable-plugins \ --enable-plugins \
--enable-gold=both/ld \ --enable-gold \
--enable-ld=default \
--enable-lto \ --enable-lto \
--disable-nls --disable-nls

View File

@ -1,10 +1,11 @@
PKG_NAME="binutils" PKG_NAME="binutils"
PKG_VERSION="2.21.51.0.1" PKG_VERSION="2.21"
PKG_REV="1" PKG_REV="1"
PKG_ARCH="any" PKG_ARCH="any"
PKG_LICENSE="GPL" PKG_LICENSE="GPL"
PKG_SITE="http://www.gnu.org/software/binutils/binutils.html" 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_DEPENDS=""
PKG_BUILD_DEPENDS="ccache linux-headers gmp mpfr ppl cloog-ppl libelf" PKG_BUILD_DEPENDS="ccache linux-headers gmp mpfr ppl cloog-ppl libelf"
PKG_PRIORITY="optional" PKG_PRIORITY="optional"

View File

@ -1,7 +1,7 @@
diff -Naur binutils-2.20.51.0.9-old/bfd/configure binutils-2.20.51.0.9-new/bfd/configure diff -Naur binutils-2.21-old/bfd/configure binutils-2.21-new/bfd/configure
--- binutils-2.20.51.0.9-old/bfd/configure 2010-05-27 11:22:20.000000000 -0700 --- binutils-2.21-old/bfd/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/bfd/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/bfd/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10320,7 +10320,7 @@ @@ -10326,7 +10326,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # and add multilib dir if necessary.
lt_tmp_lt_search_path_spec= 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/binutils/configure binutils-2.21-new/binutils/configure
--- binutils-2.20.51.0.9-old/binutils/configure 2010-05-27 11:22:22.000000000 -0700 --- binutils-2.21-old/binutils/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/binutils/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/binutils/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10114,7 +10114,7 @@ @@ -10120,7 +10120,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # and add multilib dir if necessary.
lt_tmp_lt_search_path_spec= 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/gas/configure binutils-2.21-new/gas/configure
--- binutils-2.20.51.0.9-old/gas/configure 2010-04-13 06:26:42.000000000 -0700 --- binutils-2.21-old/gas/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/gas/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/gas/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10101,7 +10101,7 @@ @@ -10109,7 +10109,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # and add multilib dir if necessary.
lt_tmp_lt_search_path_spec= 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/gprof/configure binutils-2.21-new/gprof/configure
--- binutils-2.20.51.0.9-old/gprof/configure 2010-04-13 06:26:45.000000000 -0700 --- binutils-2.21-old/gprof/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/gprof/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/gprof/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10039,7 +10039,7 @@ @@ -10039,7 +10039,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/ld/configure binutils-2.21-new/ld/configure
--- binutils-2.20.51.0.9-old/ld/configure 2010-05-27 11:22:31.000000000 -0700 --- binutils-2.21-old/ld/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/ld/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/ld/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10528,7 +10528,7 @@ @@ -10536,7 +10536,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # and add multilib dir if necessary.
lt_tmp_lt_search_path_spec= 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/libiberty/Makefile.in binutils-2.21-new/libiberty/Makefile.in
--- binutils-2.20.51.0.9-old/libiberty/Makefile.in 2010-05-27 11:22:33.000000000 -0700 --- binutils-2.21-old/libiberty/Makefile.in 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/libiberty/Makefile.in 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/libiberty/Makefile.in 2010-12-08 07:12:23.000000000 -0800
@@ -327,7 +327,7 @@ @@ -346,7 +346,7 @@
# multilib-specific flags, it's overridden by FLAGS_TO_PASS from the # multilib-specific flags, it's overridden by FLAGS_TO_PASS from the
# default multilib, so we have to take CFLAGS into account as well, # default multilib, so we have to take CFLAGS into account as well,
# since it will be passed the multilib flags. # 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 install_to_libdir: all
${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR) ${mkinstalldirs} $(DESTDIR)$(libdir)/$(MULTIOSDIR)
$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(MULTIOSDIR)/$(TARGETLIB)n $(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 diff -Naur binutils-2.21-old/libtool.m4 binutils-2.21-new/libtool.m4
--- binutils-2.20.51.0.9-old/libtool.m4 2010-01-15 09:05:56.000000000 -0800 --- binutils-2.21-old/libtool.m4 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/libtool.m4 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/libtool.m4 2010-12-08 07:12:23.000000000 -0800
@@ -2043,7 +2043,7 @@ @@ -2043,7 +2043,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # 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 for lt_sys_path in $lt_search_path_spec; do
if test -d "$lt_sys_path/$lt_multi_os_dir"; then 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" 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 diff -Naur binutils-2.21-old/opcodes/configure binutils-2.21-new/opcodes/configure
--- binutils-2.20.51.0.9-old/opcodes/configure 2010-04-13 06:26:47.000000000 -0700 --- binutils-2.21-old/opcodes/configure 2010-12-08 07:11:15.000000000 -0800
+++ binutils-2.20.51.0.9-new/opcodes/configure 2010-05-27 16:15:59.000000000 -0700 +++ binutils-2.21-new/opcodes/configure 2010-12-08 07:12:23.000000000 -0800
@@ -10050,7 +10050,7 @@ @@ -10056,7 +10056,7 @@
# Ok, now we have the path, separated by spaces, we can step through it # Ok, now we have the path, separated by spaces, we can step through it
# and add multilib dir if necessary. # and add multilib dir if necessary.
lt_tmp_lt_search_path_spec= lt_tmp_lt_search_path_spec=

View File

@ -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 diff -Naur binutils-2.21-old/gold/plugin.cc binutils-2.21-new/gold/plugin.cc
--- binutils-2.20.51.0.12-old/gold/plugin.cc 2010-10-22 06:41:04.000000000 -0700 --- binutils-2.21-old/gold/plugin.cc 2010-10-14 15:10:22.000000000 -0700
+++ binutils-2.20.51.0.12-new/gold/plugin.cc 2010-10-23 06:03:56.000000000 -0700 +++ binutils-2.21-new/gold/plugin.cc 2010-12-08 07:11:30.000000000 -0800
@@ -668,28 +668,50 @@ @@ -668,28 +668,50 @@
break; break;
} }