a992a06701
Switch the __x86.get_pc_thunk.{bx,cx} functions from .gnu.linkonce to comdat section groups. lld doesn't implement .gnu.linkonce and will instead discard the input sections. Currently, it might produce a faulty binary that has no get_pc_thunk function in it, which would crash. Normally, these functions are generated by GCC and are present in many object files compiled with PIC. Clang doesn't use them, and instead initializes the PIC base register with a "call 1f; 1: pop %ebx" pair. Bug: http://b/154376560 Bug: https://bugs.llvm.org/show_bug.cgi?id=45594 Test: bionic-unit-tests Change-Id: I3e4857aecdc281b32232270bff4880433e5b6afa |
||
---|---|---|
.. | ||
cache.h | ||
sse2-memmove-slm.S | ||
sse2-memset-slm.S | ||
sse2-stpcpy-slm.S | ||
sse2-stpncpy-slm.S | ||
sse2-strcpy-slm.S | ||
sse2-strlen-slm.S | ||
sse2-strncpy-slm.S | ||
sse4-memcmp-slm.S | ||
sse4-wmemcmp-slm.S |