gcc/libgcc/config/aarch64
Kyrylo Tkachov 1266778548 [AArch64] Use __getauxval instead of getauxval in LSE detection code in libgcc
This version of the fix uses __getauxval instead of getauxval.
The whole thing is guarded simply on __gnu_linux__.
__getauxval was introduced in 2.16 but the aarch64 port was added in 2.17 so in practice I expect all aarch64 glibcs to support __getauxval.

Bootstrapped and tested on aarch64-none-linux-gnu.
Also tested on aarch64-none-elf.

2020-05-06  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

	* config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval
	instead of getauxval.
	(AT_HWCAP): Define.
	(HWCAP_ATOMICS): Define.
	Guard detection on __gnu_linux__.
2020-05-06 16:20:38 +01:00
..
aarch64-unwind.h
crtfastmath.c
crti.S
crtn.S
freebsd-unwind.h
linux-unwind.h
lse-init.c [AArch64] Use __getauxval instead of getauxval in LSE detection code in libgcc 2020-05-06 16:20:38 +01:00
lse.S
sfp-exceptions.c
sfp-machine.h
sync-cache.c
t-aarch64
t-lse
t-softfp
value-unwind.h