diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-05-22 21:34:26 -0700 |
---|---|---|
committer | Chih-hung Hsieh <chh@google.com> | 2018-05-23 17:14:22 +0000 |
commit | 0fc5df0fde88f49057ea28404e4a7e8b370b1cea (patch) | |
tree | 1fdf7bf5f498a61908426c4324d2a43d951887ea /libdl | |
parent | a6a56784e02d568c4965dcf5538dea48a472b7d1 (diff) |
Work around b/24465209, do not use clang lld
See longer explanation in b/80093890.
Clang lld does not generate expected DT_REL and DT_RELA tags
with --hash-style=both and --pack-dyn-relocs=android.
I am not sure about the extent of b/24465209, so
I would rather not to use lld for these .so files for now.
Bug: 80093890
Bug: 24465209
Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables
Change-Id: I94e9fe8d687daeadb0182ae26596ca11d3f8bd9b
Diffstat (limited to 'libdl')
-rw-r--r-- | libdl/Android.bp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdl/Android.bp b/libdl/Android.bp index 97f103846..9d979577b 100644 --- a/libdl/Android.bp +++ b/libdl/Android.bp @@ -50,6 +50,7 @@ cc_library { arm: { version_script: "libdl.arm.map", ldflags: ["-Wl,--hash-style=both"], + use_clang_lld: false, }, arm64: { version_script: "libdl.arm64.map", @@ -65,6 +66,7 @@ cc_library { "-Wl,--exclude-libs=libgcc_eh.a", "-Wl,--hash-style=both", ], + use_clang_lld: false, version_script: "libdl.x86.map", }, x86_64: { |