On 5/19/20 3:38 AM, Florian Weimer via Gcc wrote:
> One minor improvement would be to document __aarch64_have_lse_atomics as
> interposable on the GCC side and define that directly in glibc, so that
> lse-init.o is not linked in anymore and __aarch64_have_lse_atomics can
> be initialized as soon as ld.so has the hwcap information.

The __aarch64_have_lse_atomics symbol is not interposable.
We use a direct pc-relative reference to it from each lse thunk.

Anything that is done to alter that affects the abi of every shared object that
uses the thunks.  Which makes it pretty much a non-starter as a deployment 
option.


r~

Reply via email to