From: Victor Martinez Date: Thu, 13 Oct 2011 11:39:57 +0000 (+0000) Subject: binutils: initial import (verified compilation) X-Git-Url: http://gitweb/?a=commitdiff_plain;h=396d340aff2e081d5c4080c9fe5c2ae9177be238;p=attic%2Fports%2Fcore-cross.git binutils: initial import (verified compilation) --- diff --git a/binutils/.footprint b/binutils/.footprint index cd49204..59d85ff 100644 --- a/binutils/.footprint +++ b/binutils/.footprint @@ -4,8 +4,10 @@ drwxr-xr-x root/root usr/bin/ -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 @@ -19,7 +21,7 @@ drwxr-xr-x root/root usr/include/ -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/ @@ -49,15 +51,15 @@ 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 @@ -65,6 +67,7 @@ drwxr-xr-x root/root usr/man/man1/ -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 diff --git a/binutils/.md5sum b/binutils/.md5sum index 1691323..c56ed9c 100644 --- a/binutils/.md5sum +++ b/binutils/.md5sum @@ -1 +1,2 @@ -9cdfb9d6ec0578c166d3beae5e15c4e5 binutils-2.20.1.tar.bz2 +cadb60af94b98c273b9c6ff50bfa6521 binutils-2.21.1-gnueabihf.patch +bde820eac53fa3a8d8696667418557ad binutils-2.21.1.tar.bz2 diff --git a/binutils/Pkgfile b/binutils/Pkgfile index f7ca49e..194da22 100644 --- a/binutils/Pkgfile +++ b/binutils/Pkgfile @@ -5,11 +5,15 @@ # 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 diff --git a/binutils/binutils-2.21.1-gnueabihf.patch b/binutils/binutils-2.21.1-gnueabihf.patch new file mode 100644 index 0000000..10d7017 --- /dev/null +++ b/binutils/binutils-2.21.1-gnueabihf.patch @@ -0,0 +1,35 @@ +=================================================================== +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 + ;; +