Hello,
For information, a patch has been posted to the glibc development list:
https://sourceware.org/ml/libc-alpha/2018-04/msg00393.html

which enables searching of "atomics" subdirectories when ld loads
libraries, for systems where 8.1 atomics are enabled.

This should allow one to employ the 8.1 atomics "baked in" to an
optimised self-contained library rather than have to decouple them
with alternative code paths, ifuncs, custom loaders etc.

As an example, with this patch applied and running in a test model
with 8.1 atomics enabled, and a filesystem with an extra libc
supplied; I got the following from /proc/self/maps:
/lib/aarch64-linux-gnu/atomics/libc.so.6
(re-running the model without atomics enabled gave the libc in
/lib/aarch64-linux-gnu/ instead).

Cheers,
--
Steve
_______________________________________________
cross-distro mailing list
cross-distro@lists.linaro.org
https://lists.linaro.org/mailman/listinfo/cross-distro

Reply via email to