Commit 9d68bf6c authored by Adhemerval Zanella's avatar Adhemerval Zanella Committed by George Fang
Browse files

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 ab42e6fc)
parent d645d381
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment