summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-Hung Hsieh2018-05-23 20:55:10 -0500
committerChih-Hung Hsieh2018-05-24 11:34:54 -0500
commit462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b (patch)
treebf3a8e9f4996bbbab89a2f086eeb24dc12d5e9cf /liblog/Android.bp
parent98c1b1ccf67113957f1e4d8678cf8b5a1fe747e1 (diff)
downloadplatform-system-core-462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b.tar.gz
platform-system-core-462df10d910fbee1a4fd4524ceb8b9a6dbbfe11b.tar.xz
platform-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/Android.bp')
-rw-r--r--liblog/Android.bp2
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 {
83 }, 83 },
84 android_arm: { 84 android_arm: {
85 // TODO: This is to work around b/24465209. Remove after root cause is fixed 85 // TODO: This is to work around b/24465209. Remove after root cause is fixed
86 pack_relocations: false,
86 ldflags: ["-Wl,--hash-style=both"], 87 ldflags: ["-Wl,--hash-style=both"],
87 use_clang_lld: false,
88 }, 88 },
89 windows: { 89 windows: {
90 srcs: ["uio.c"], 90 srcs: ["uio.c"],