Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 462df10d authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh
Browse files

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
parent 98c1b1cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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"],