diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2015-07-04 09:26:15 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2015-07-04 09:33:05 +0200 |
commit | 630ad918d45d6dee4f114fca457af6020ab8668d (patch) | |
tree | 1e23031d90512658a982d2884fa1ecd5ef0dc82f /util/crossgcc | |
parent | caa599507f64a368facabf6da132cc3bc84b1bb2 (diff) |
crossgcc: Fix binutils for aarch64
The gold linker didn't build.
Change-Id: I93c26a7715e781b001a71978d8fadbf65fdfe427
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/10791
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'util/crossgcc')
-rw-r--r-- | util/crossgcc/patches/binutils-2.25_fix-aarch64.patch | 14 |
1 files changed, 14 insertions, 0 deletions
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 <schwab@linux-m68k.org> +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 |