diff options
author | Chih-Hung Hsieh <chh@google.com> | 2018-05-23 18:55:10 -0700 |
---|---|---|
committer | Chih-Hung Hsieh <chh@google.com> | 2018-05-24 09:34:54 -0700 |
commit | 462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b (patch) | |
tree | bf3a8e9f4996bbbab89a2f086eeb24dc12d5e9cf /liblog | |
parent | 98c1b1ccf67113957f1e4d8678cf8b5a1fe747e1 (diff) | |
download | system_core-462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b.tar.gz system_core-462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b.tar.bz2 system_core-462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b.zip |
Work around b/24465209, do not pack relocation table.
Global flag --pack-dyn-relocs=android is used with clang lld.
For b/24465209, we need to override that with pack_relocations:false.
Bug: 24465209
Bug: 80093890
Test: build with USE_CLANG_LLD=true and run dlext.compat_elf_hash_and_relocation_tables
Change-Id: I4edcdf49e184fa45ea2b6b6417654d81bcd09e1d
Diffstat (limited to 'liblog')
-rw-r--r-- | liblog/Android.bp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/Android.bp b/liblog/Android.bp index 1bd796ae3..4a165a0c1 100644 --- a/liblog/Android.bp +++ b/liblog/Android.bp @@ -83,8 +83,8 @@ cc_library { }, android_arm: { // TODO: This is to work around b/24465209. Remove after root cause is fixed + pack_relocations: false, ldflags: ["-Wl,--hash-style=both"], - use_clang_lld: false, }, windows: { srcs: ["uio.c"], |