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
This commit is contained in:
Chih-Hung Hsieh 2018-05-23 18:55:10 -07:00
parent 98c1b1ccf6
commit 462df10d91
1 changed files with 1 additions and 1 deletions

View File

@ -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"],