OSDN Git Service
(root)
/
android-x86
/
build.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ac39bef
)
Enable gold linker for aarch64.
author
Than McIntosh
<thanm@google.com>
Thu, 22 Oct 2015 13:44:48 +0000
(09:44 -0400)
committer
Than McIntosh
<thanm@google.com>
Thu, 22 Oct 2015 13:44:48 +0000
(09:44 -0400)
Switches default linker from -fuse-ld-bfd to
-fuse-ld=gold, and enables -Wl,--icf=safe. This
changes reduces /system/lib64/*.so text size
by about 2% for N9.
Change-Id: I0ef2483e1c47c34e63292dad6f6bf532359b733e
core/combo/TARGET_linux-arm64.mk
patch
|
blob
|
history
diff --git
a/core/combo/TARGET_linux-arm64.mk
b/core/combo/TARGET_linux-arm64.mk
index
b213ea7
..
ce7f62e
100644
(file)
--- 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.