diff toolchain/build+install.sh @ 83:ebe258a85813

toolchain: binutils patch to emit the "short" form of Thumb->ARM call veneers
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 19 Aug 2013 05:16:34 +0000
parents 53b8d61c16a0
children
line wrap: on
line diff
--- a/toolchain/build+install.sh	Sat Aug 17 19:29:48 2013 +0000
+++ b/toolchain/build+install.sh	Mon Aug 19 05:16:34 2013 +0000
@@ -33,6 +33,8 @@
 
 # binutils come first
 tar xjf $1/binutils-2.21.1a.tar.bz2
+# apply patches
+patch binutils-2.21.1/bfd/elf32-arm.c < binutils-patches/elf32-arm.patch
 mkdir -p binutils-build
 cd binutils-build
 ../binutils-2.21.1/configure --prefix=$2 ${target_args} --disable-nls