From 630ad918d45d6dee4f114fca457af6020ab8668d Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 4 Jul 2015 09:26:15 +0200 Subject: crossgcc: Fix binutils for aarch64 The gold linker didn't build. Change-Id: I93c26a7715e781b001a71978d8fadbf65fdfe427 Signed-off-by: Patrick Georgi Reviewed-on: http://review.coreboot.org/10791 Reviewed-by: Stefan Reinauer Tested-by: build bot (Jenkins) --- util/crossgcc/patches/binutils-2.25_fix-aarch64.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 util/crossgcc/patches/binutils-2.25_fix-aarch64.patch (limited to 'util/crossgcc/patches') diff --git a/util/crossgcc/patches/binutils-2.25_fix-aarch64.patch b/util/crossgcc/patches/binutils-2.25_fix-aarch64.patch new file mode 100644 index 0000000000..de6b9f23d4 --- /dev/null +++ b/util/crossgcc/patches/binutils-2.25_fix-aarch64.patch @@ -0,0 +1,14 @@ +Taken from https://sourceware.org/ml/binutils/2014-10/msg00099.html +Authored by Andreas Schwab +diff --git a/gold/configure.tgt b/gold/configure.tgt +index 9a75070..59a681e 100644 +--- binutils-2.25/gold/configure.tgt ++++ binutils-2.25/gold/configure.tgt +@@ -146,6 +146,7 @@ arm*-*-*) + ;; + aarch64*-*) + targ_obj=aarch64 ++ targ_extra_obj=aarch64-reloc-property + targ_machine=EM_AARCH64 + targ_size=64 + targ_extra_size=32 -- cgit v1.2.3