Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Unified Diff: third_party/binutils/build-all.sh

Issue 1950343004: Update third_party/binutils to 2.26, add ICF fix (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/icf-rel.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/binutils/build-all.sh
diff --git a/third_party/binutils/build-all.sh b/third_party/binutils/build-all.sh
index dc6368331478984e366fe49e7721f23cc9332f77..b203699f24fb644609af1028a4cce51f20c97886 100755
--- a/third_party/binutils/build-all.sh
+++ b/third_party/binutils/build-all.sh
@@ -22,7 +22,7 @@ if [ ! -d "$OUTPUTDIR" ]; then
fi
# Download the source
-VERSION=2.25
+VERSION=2.26
wget -c http://ftp.gnu.org/gnu/binutils/binutils-$VERSION.tar.bz2
# Verify the signature
@@ -46,19 +46,14 @@ tar jxf binutils-$VERSION.tar.bz2
# Patch the source
(
cd binutils-$VERSION
- echo "unlock-thin.patch"
- echo "=================================="
- patch -p1 < ../unlock-thin.patch
- echo "----------------------------------"
- echo
- echo "plugin-dso-fix.patch"
+ echo "long-plt.patch"
echo "=================================="
- patch -p1 < ../plugin-dso-fix.patch
+ patch -p1 < ../long-plt.patch
echo "----------------------------------"
echo
- echo "long-plt.patch"
+ echo "icf-rel.patch"
echo "=================================="
- patch -p1 < ../long-plt.patch
+ patch -p1 < ../icf-rel.patch
echo "----------------------------------"
echo
)
@@ -102,7 +97,7 @@ for ARCH in i386 amd64; do
;;
amd64)
PREFIX="setarch linux64"
- ARCHNAME=x86_64-unknown-linux-gnu
+ ARCHNAME=x86_64-pc-linux-gnu
;;
esac
echo ""
@@ -117,9 +112,7 @@ for ARCH in i386 amd64; do
sudo chown -R $(whoami) "$BUILDDIR/output/"
# Strip the output binaries
- for i in "$BUILDDIR/output/$ARCHNAME/bin/*"; do
- strip $i
- done
+ strip "$BUILDDIR/output/$ARCHNAME/bin/"*
# Copy them out of the chroot
cp -a "$BUILDDIR/output/$ARCHNAME" "$OUTPUTDIR"
« no previous file with comments | « third_party/binutils/README.chromium ('k') | third_party/binutils/icf-rel.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698