diff options
author | Yi Kong <yikong@google.com> | 2019-05-03 01:17:03 -0700 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2019-05-03 08:24:10 +0000 |
commit | bd475367c3dcb4478a70409c99b959ebdb117be3 (patch) | |
tree | 41eadbf2c0a53d755091399f192bb2461e4982d8 /apex | |
parent | ead8b42a1de7b5d36ab7c66b95d5b568a39a5831 (diff) | |
download | build_soong-bd475367c3dcb4478a70409c99b959ebdb117be3.tar.gz build_soong-bd475367c3dcb4478a70409c99b959ebdb117be3.tar.bz2 build_soong-bd475367c3dcb4478a70409c99b959ebdb117be3.zip |
Strip libgcc to only keep fallback symbols
We use libgcc as fallback for symbols not present in libclang_rt
builtins, however we didn't know what exact symbols were being used,
some may not be intended to fallback.
Create libgcc_stripped, which only contains unwind symbols from libgcc.
Bug: 29275768
Test: bionic-unit-tests
Change-Id: I98df02ead7f6cca4e76ec92d4f880de4e03f5b5c
Merged-In: I5b349fa6138e51663bf3b67109b880b4356da8e8
(cherry picked from commit acee27cd7236554d0112001c96b9b5790c1c7097)
Diffstat (limited to 'apex')
-rw-r--r-- | apex/apex_test.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/apex/apex_test.go b/apex/apex_test.go index c771ae45..a07a89b8 100644 --- a/apex/apex_test.go +++ b/apex/apex_test.go @@ -93,6 +93,13 @@ func testApex(t *testing.T, bp string) *android.TestContext { } toolchain_library { + name: "libgcc_stripped", + src: "", + vendor_available: true, + recovery_available: true, + } + + toolchain_library { name: "libclang_rt.builtins-aarch64-android", src: "", vendor_available: true, |