aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>2020-05-06 16:20:38 +0100
committerGiuliano Belinassi <giuliano.belinassi@usp.br>2020-08-17 12:57:44 -0300
commit9411358764b7b7af8f36a09eaf448db459afb7b4 (patch)
tree1592b3347f4d077db559634404e622fd715a0cbf /gcc
parent4ccfc3c88023931c9149fc670dda9c4c999733b0 (diff)
downloadgcc-9411358764b7b7af8f36a09eaf448db459afb7b4.zip
gcc-9411358764b7b7af8f36a09eaf448db459afb7b4.tar.gz
gcc-9411358764b7b7af8f36a09eaf448db459afb7b4.tar.bz2
[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__.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions