aarch64: add HWCAP_ATOMICS to HWCAP_IMPORTANT

Szabolcs Nagy szabolcs.nagy@arm.com
Thu Apr 19 11:51:00 GMT 2018


This enables searching shared libraries in atomics/ when the hardware
supports LSE atomics of armv8.1 so one can provide optimized variants
of libraries in a portable way.

LSE atomics does not affect library abi, the new instructions can
interoperate with old ones.

I'm not familiar with how this feature of the dynamic linker is used
in practice by distros or others so comments are welcome.

2018-04-19  Szabolcs Nagy  <szabolcs.nagy@arm.com>

	* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
	HWCAP_ATOMICS.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: atomics.diff
Type: text/x-patch
Size: 767 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20180419/214c4ffe/attachment.bin>


More information about the Libc-alpha mailing list