From 21416e97fd5e6f65bdbf768fe5e27754aeb74e0a Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Thu, 21 Jun 2018 10:48:41 +0200 Subject: [PATCH] binutils: restored and updated to 2.29.1 --- binutils/.footprint | 212 ++++++++++++++++++++++++++++++++++++++++++++ binutils/.md5sum | 1 + binutils/Pkgfile | 34 +++++++ 3 files changed, 247 insertions(+) create mode 100644 binutils/.footprint create mode 100644 binutils/.md5sum create mode 100644 binutils/Pkgfile diff --git a/binutils/.footprint b/binutils/.footprint new file mode 100644 index 0000000..eee3638 --- /dev/null +++ b/binutils/.footprint @@ -0,0 +1,212 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/addr2line +-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/dwp +-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/ld.gold +-rwxr-xr-x root/root usr/bin/nm +-rwxr-xr-x root/root usr/bin/objcopy +-rwxr-xr-x root/root usr/bin/objdump +-rwxr-xr-x root/root usr/bin/ranlib +-rwxr-xr-x root/root usr/bin/readelf +-rwxr-xr-x root/root usr/bin/size +-rwxr-xr-x root/root usr/bin/strings +-rwxr-xr-x root/root usr/bin/strip +drwxr-xr-x root/root usr/include/ +-rw-r--r-- root/root usr/include/ansidecl.h +-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--r-- root/root usr/include/plugin-api.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/aarch64elf.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elf32b.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64elfb.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linux32b.xw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.x +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xd +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xdc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xdw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xn +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xr +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xs +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xu +-rw-r--r-- root/root usr/lib/ldscripts/aarch64linuxb.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelf.x +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelf.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.x +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelf_linux_eabi.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.x +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xsc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xsw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xu +-rw-r--r-- root/root usr/lib/ldscripts/armelfb.xw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.x +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xbn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xd +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xdc +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xdw +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xn +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xr +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xs +-rw-r--r-- root/root usr/lib/ldscripts/armelfb_linux_eabi.xsc +-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.29.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.29.1.so +-rwxr-xr-x root/root usr/lib/libopcodes-2.29.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.29.1.so +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/addr2line.1.gz +-rw-r--r-- root/root usr/share/man/man1/ar.1.gz +-rw-r--r-- root/root usr/share/man/man1/as.1.gz +-rw-r--r-- root/root usr/share/man/man1/c++filt.1.gz +-rw-r--r-- root/root usr/share/man/man1/elfedit.1.gz +-rw-r--r-- root/root usr/share/man/man1/gprof.1.gz +-rw-r--r-- root/root usr/share/man/man1/ld.1.gz +-rw-r--r-- root/root usr/share/man/man1/nm.1.gz +-rw-r--r-- root/root usr/share/man/man1/objcopy.1.gz +-rw-r--r-- root/root usr/share/man/man1/objdump.1.gz +-rw-r--r-- root/root usr/share/man/man1/ranlib.1.gz +-rw-r--r-- root/root usr/share/man/man1/readelf.1.gz +-rw-r--r-- root/root usr/share/man/man1/size.1.gz +-rw-r--r-- root/root usr/share/man/man1/strings.1.gz +-rw-r--r-- root/root usr/share/man/man1/strip.1.gz diff --git a/binutils/.md5sum b/binutils/.md5sum new file mode 100644 index 0000000..f95f910 --- /dev/null +++ b/binutils/.md5sum @@ -0,0 +1 @@ +9af59a2ca3488823e453bb356fe0f113 binutils-2.29.1.tar.bz2 diff --git a/binutils/Pkgfile b/binutils/Pkgfile new file mode 100644 index 0000000..357cb17 --- /dev/null +++ b/binutils/Pkgfile @@ -0,0 +1,34 @@ +# Description: The GNU Binutils are a collection of binary tools +# URL: http://sources.redhat.com/binutils/ +# Maintainer: CRUX System Team, core-ports at crux dot nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu +# Depends on: zlib flex + +name=binutils +version=2.29.1 +release=1 +source=(http://ftpmirror.gnu.org/gnu/$name/$name-$version.tar.bz2) + +build() { + sed -i '/^SUBDIRS/s/doc//' $name-$version/bfd/Makefile.in + + mkdir build + cd build + + ../$name-$version/configure --prefix=/usr \ + --enable-shared \ + --disable-nls \ + --enable-ld=default \ + --enable-gold=yes \ + --enable-plugins \ + --disable-werror + + make tooldir=/usr + make tooldir=/usr DESTDIR=$PKG install + + install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include + + rm -r $PKG/usr/share/info + rm $PKG/usr/share/man/man1/{dlltool,nlmconv,windres,windmc}.1 + sed -i "s|-L$SRC[^ ]* ||g" $PKG/usr/lib/lib{bfd,opcodes}.la +} -- 2.26.2