Files
build_soong/cc
Colin Cross dea1d03975 Fix addrsig warnings
ld -r reorders symbols and invalidates the .llvm_addrsig section, which
then causes warnings if the resulting object is used with ld --icf=safe.
The warning is especially common when building with musl, as the
clang_rt.crt* objects have .llvm_addrsig sections, are linked into
libc_musl_crt* using ld -r, and are then linked into every other binary
and shared library with --icf=safe.

Strip the .llvm_addrsig section after ld -r to prevent the warnings.

Test: m USE_HOST_MUSL=true host-native -k
Change-Id: Ia52a4756b9ebbb62115898d0de9f8641e6fea705
2023-04-14 14:31:14 -07:00
..
2023-04-11 13:41:17 +00:00
2022-10-05 09:06:49 +09:00
2022-10-10 15:33:50 +00:00
2023-03-31 17:55:16 -04:00
2023-04-05 11:49:19 +09:00
2023-03-31 17:52:01 -04:00
2023-02-22 13:45:49 +09:00
2023-04-14 14:31:14 -07:00
2023-03-27 10:06:02 -04:00
2023-03-31 17:52:01 -04:00
2023-03-12 16:31:10 +09:00
2023-03-16 13:11:17 +09:00
2022-12-01 20:01:03 +00:00
2022-08-17 10:43:13 -07:00
2023-02-21 10:12:47 -08:00
2021-04-26 18:41:00 -07:00
2023-02-15 01:32:22 +00:00
2023-03-28 23:13:16 +00:00
2023-04-14 14:31:14 -07:00
2023-02-22 13:45:49 +09:00
2023-03-31 17:55:16 -04:00