-rwxr-xr-x root/root usr/bin/ar
-rwxr-xr-x root/root usr/bin/as
-rwxr-xr-x root/root usr/bin/c++filt
+-rwxr-xr-x root/root usr/bin/elfedit
-rwxr-xr-x root/root usr/bin/gprof
-rwxr-xr-x root/root usr/bin/ld
+-rwxr-xr-x root/root usr/bin/ld.bfd
-rwxr-xr-x root/root usr/bin/nm
-rwxr-xr-x root/root usr/bin/objcopy
-rwxr-xr-x root/root usr/bin/objdump
-rw-r--r-- root/root usr/include/bfd.h
-rw-r--r-- root/root usr/include/bfdlink.h
-rw-r--r-- root/root usr/include/dis-asm.h
--rw-r--r-- root/root usr/include/libiberty.h
+-rw-r----- root/root usr/include/libiberty.h
-rw-r--r-- root/root usr/include/symcat.h
drwxr-xr-x root/root usr/lib/
drwxr-xr-x root/root usr/lib/ldscripts/
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xsw
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xu
-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xw
--rwxr-xr-x root/root usr/lib/libbfd-2.20.1.so
+-rwxr-xr-x root/root usr/lib/libbfd-2.21.1.so
-rw-r--r-- root/root usr/lib/libbfd.a
-rwxr-xr-x root/root usr/lib/libbfd.la
-lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.20.1.so
+lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.21.1.so
-rw-r--r-- root/root usr/lib/libiberty.a
--rwxr-xr-x root/root usr/lib/libopcodes-2.20.1.so
+-rwxr-xr-x root/root usr/lib/libopcodes-2.21.1.so
-rw-r--r-- root/root usr/lib/libopcodes.a
-rwxr-xr-x root/root usr/lib/libopcodes.la
-lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.20.1.so
+lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.21.1.so
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/addr2line.1.gz
-rw-r--r-- root/root usr/man/man1/as.1.gz
-rw-r--r-- root/root usr/man/man1/c++filt.1.gz
-rw-r--r-- root/root usr/man/man1/dlltool.1.gz
+-rw-r--r-- root/root usr/man/man1/elfedit.1.gz
-rw-r--r-- root/root usr/man/man1/gprof.1.gz
-rw-r--r-- root/root usr/man/man1/ld.1.gz
-rw-r--r-- root/root usr/man/man1/nlmconv.1.gz
# Depends on:
name=binutils
-version=2.20.1
+version=2.21.1
release=1
-source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
+source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2 \
+ binutils-$version-gnueabihf.patch)
build() {
+ pushd $name-$version
+ patch -p1 -i $SRC/binutils-$version-gnueabihf.patch
+ popd
sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in
sed -i '/^# RELEASE=y/s/#//' $name-$version/bfd/Makefile.in
sed -i 's|really-check: check-cplus-dem check-pexecute check-expandargv|really-check:|g' -i $name-$version/libiberty/testsuite/Makefile.in
--- /dev/null
+===================================================================
+RCS file: /cvs/src/src/ld/configure.tgt,v
+retrieving revision 1.244
+retrieving revision 1.245
+diff -u -r1.244 -r1.245
+--- src/ld/configure.tgt 2011/04/07 01:19:22 1.244
++++ src/ld/configure.tgt 2011/04/08 16:05:12 1.245
+@@ -71,7 +71,7 @@
+ arm*-*-symbianelf*) targ_emul=armsymbian;;
+ arm-*-kaos*) targ_emul=armelf ;;
+ arm9e-*-elf) targ_emul=armelf ;;
+-arm*b-*-linux-*eabi) targ_emul=armelfb_linux_eabi
++arm*b-*-linux-*eabi*) targ_emul=armelfb_linux_eabi
+ targ_extra_emuls=armelf_linux_eabi
+ targ_extra_libpath=$targ_extra_emuls
+ ;;
+@@ -79,7 +79,7 @@
+ targ_extra_emuls="armelfb armelf armelf_linux"
+ targ_extra_libpath="armelf_linux"
+ ;;
+-arm*-*-linux-*eabi) targ_emul=armelf_linux_eabi
++arm*-*-linux-*eabi*) targ_emul=armelf_linux_eabi
+ targ_extra_emuls=armelfb_linux_eabi
+ targ_extra_libpath=$targ_extra_emuls
+ ;;
+@@ -87,7 +87,7 @@
+ targ_extra_emuls="armelf armelfb armelfb_linux"
+ targ_extra_libpath="armelfb_linux"
+ ;;
+-arm*-*-uclinux*eabi) targ_emul=armelf_linux_eabi
++arm*-*-uclinux*eabi*) targ_emul=armelf_linux_eabi
+ targ_extra_emuls=armelfb_linux_eabi
+ targ_extra_libpath=$targ_extra_emuls
+ ;;
+