summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2018-05-23 18:52:18 -0700
committerChih-Hung Hsieh <chh@google.com>2018-05-24 09:37:47 -0700
commit19b536bbf4bff8212493ad9336a7603f689a17b7 (patch)
treedbe912faf6be7ce1d10c7e13558f57ad32271d0b /Android.bp
parent880f6e994261dc925dcdb4612c65aab03b92afeb (diff)
downloadzlib-19b536bbf4bff8212493ad9336a7603f689a17b7.tar.gz
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: I6340f13c218bdf5a01a35b37a908c276ce2281cc
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Android.bp b/Android.bp
index d528a28..01bb51b 100644
--- a/Android.bp
+++ b/Android.bp
@@ -46,8 +46,8 @@ cc_library {
instruction_set: "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,
},
},