aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThan McIntosh <thanm@google.com>2015-10-26 12:22:26 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-10-26 12:22:26 +0000
commit14c2d968b913573e7a21fe72723254c9cc277210 (patch)
treecb681075f5446ba1fa722a078b940c794437188a
parent9d192f1c1090a757c9218296457482d2ba737989 (diff)
parent127d110172818c7dce14fefcc72b07a18686ee9c (diff)
downloadbuild-14c2d968b913573e7a21fe72723254c9cc277210.tar.gz
Merge "Enable gold linker for aarch64."
-rw-r--r--core/combo/TARGET_linux-arm64.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/combo/TARGET_linux-arm64.mk b/core/combo/TARGET_linux-arm64.mk
index b213ea735d..ce7f62e351 100644
--- a/core/combo/TARGET_linux-arm64.mk
+++ b/core/combo/TARGET_linux-arm64.mk
@@ -110,6 +110,8 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,-maarch64linux \
-Wl,--hash-style=gnu \
-Wl,--fix-cortex-a53-843419 \
+ -fuse-ld=gold \
+ -Wl,--icf=safe \
$(arch_variant_ldflags)
# Disable transitive dependency library symbol resolving.