summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2019-10-15 16:35:51 -0700
committer Yi Kong <yikong@google.com> 2019-10-15 16:43:12 -0700
commit049ae6ae3eb69035112219a872a914f3abd1c516 (patch)
tree3a69e2632438c1b91158fc22dc9255a3103b8b1d /sdk/sdk_test.go
parent5ac191f51fc9f5f78463aab21bc30042913d0e52 (diff)
Revert "Create libgcc_stripped with llvm-objcopy"
We rely on a weird, GNU specific behaviour of objcopy: $ aarch64-linux-android-objcopy -w libgcc.a stripped.a --strip-unneeded-symbol=* $ llvm-nm --defined-only stripped.a | grep multi 0000000000000000 T __multi3 $ aarch64-linux-android-objcopy -w libgcc.a stripped.a --strip-unneeded-symbol=* --keep-symbol=FOO $ llvm-nm --defined-only stripped.a | grep multi llvm-objcopy has a different, more consistent behaviour that does not mark exported symbols as unneeded when "--keep-symbol" flag exists. However this behaviour will leave most symbols not deleted in the libgcc_stripped library. Revert the change while I'm implementing an alternative solution. Test: presubmit Bug: 142585047 Change-Id: I175e811f8a1f6afc6558267fc54e159ad5e12acf
Diffstat (limited to 'sdk/sdk_test.go')
0 files changed, 0 insertions, 0 deletions