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:
297d6c0
)
Add -fuse-ld=bfd to x86 target
author
Andrew Hsieh
<andrewhsieh@google.com>
Wed, 25 Jul 2012 07:35:35 +0000
(
00:35
-0700)
committer
Andrew Hsieh
<andrewhsieh@google.com>
Wed, 25 Jul 2012 18:02:52 +0000
(11:02 -0700)
Add -fuse-ld=bfd because ld.gold doesn't support "--copy-dt-needed-entries".
Change-Id: Ie6fa0a2ddfc57b650552c8cf0891f738a5be0dda
core/combo/TARGET_linux-x86.mk
patch
|
blob
|
history
diff --git
a/core/combo/TARGET_linux-x86.mk
b/core/combo/TARGET_linux-x86.mk
index
28c031d
..
9c0f7b9
100644
(file)
--- a/
core/combo/TARGET_linux-x86.mk
+++ b/
core/combo/TARGET_linux-x86.mk
@@
-186,12
+186,14
@@
$(hide) $(PRIVATE_CXX) \
endef
+# Add -fuse-ld=bfd because ld.gold doesn't support "--copy-dt-needed-entries".
define transform-o-to-executable-inner
$(hide) $(PRIVATE_CXX) \
$(TARGET_GLOBAL_LDFLAGS) \
-nostdlib -Bdynamic \
-Wl,-dynamic-linker,/system/bin/linker \
-Wl,--copy-dt-needed-entries \
+ -fuse-ld=bfd \
-Wl,-z,nocopyreloc \
-fPIE -pie \
-o $@ \