-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
-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/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.24.so
+-rwxr-xr-x root/root usr/lib/libbfd-2.25.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.24.so
--rwxr-xr-x root/root usr/lib/libopcodes-2.24.so
+lrwxrwxrwx root/root usr/lib/libbfd.so -> libbfd-2.25.1.so
+-rwxr-xr-x root/root usr/lib/libopcodes-2.25.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.24.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/ar.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
--rw-r--r-- root/root usr/man/man1/nm.1.gz
--rw-r--r-- root/root usr/man/man1/objcopy.1.gz
--rw-r--r-- root/root usr/man/man1/objdump.1.gz
--rw-r--r-- root/root usr/man/man1/ranlib.1.gz
--rw-r--r-- root/root usr/man/man1/readelf.1.gz
--rw-r--r-- root/root usr/man/man1/size.1.gz
--rw-r--r-- root/root usr/man/man1/strings.1.gz
--rw-r--r-- root/root usr/man/man1/strip.1.gz
--rw-r--r-- root/root usr/man/man1/windmc.1.gz
--rw-r--r-- root/root usr/man/man1/windres.1.gz
+lrwxrwxrwx root/root usr/lib/libopcodes.so -> libopcodes-2.25.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
# 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
+# Depends on: zlib flex
name=binutils
-version=2.24
+version=2.25.1
release=2
source=(ftp://ftp.gnu.org/gnu/$name/$name-$version.tar.bz2)
mkdir build
cd build
+
../$name-$version/configure --prefix=/usr \
--build=arm-unknown-linux-gnueabihf \
- --mandir=/usr/man \
--enable-shared \
- --disable-nls
+ --disable-nls \
+ --enable-ld=default \
+ --enable-gold=yes \
+ --enable-plugins \
+ --disable-werror
+
make tooldir=/usr
- make check
make tooldir=/usr DESTDIR=$PKG install
+
install -m 0644 ../$name-$version/include/libiberty.h $PKG/usr/include
- rm -r $PKG/usr/share
+
+ 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
}