diff options
author | Adhemerval Zanella <adhemerval.zanella@linaro.org> | 2018-08-21 11:49:25 -0300 |
---|---|---|
committer | George Fang <georgef@codeaurora.org> | 2018-10-10 12:30:03 -0700 |
commit | 9d68bf6c916cf5948f14789510fc729c34a4589f (patch) | |
tree | 68946dc5dd5c2e4cd68a6e7b55428a066fff4283 /libc/malloc_debug/malloc_debug.cpp | |
parent | d645d3817fd4a1d0f534a2c9c0b7c1c11aecb619 (diff) |
Use --Bsymbolic-functions on libm
This option removes mostly of the PLT calls for internal symbol, they
are routed to internal entrypoint instead. It should be safe for libm,
since symbol interposing is not supported.
For arm64 the remaining PLTs are __cxa_finalize, ldexp, __stack_chk_fail,
isnanf, memset, and isxdigit. All of them are expected (clang (r339432)
does not have optimization for isnan/isinf inline expansion and these
symbols are defined on libc.so).
Test: Builds, ran unit tests on arm and x86.
CRs-Fixed: 2328588
Change-Id: I1eb1a9f2b30f21788d9ad8639b4a0a15f6d0566a
(cherry picked from commit ab42e6fcbf412be2319d86a8cfdf750233464f1e)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions