diff options
author | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2020-05-06 16:20:38 +0100 |
---|---|---|
committer | Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 2020-05-06 16:20:38 +0100 |
commit | 1266778548e20de82983b6446f3cb685068cfb1e (patch) | |
tree | 1592b3347f4d077db559634404e622fd715a0cbf /libgcc/ChangeLog | |
parent | 4e849a74a8512cb313831a5929501ac2a735b7e1 (diff) |
[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 'libgcc/ChangeLog')
-rw-r--r-- | libgcc/ChangeLog | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 49d757f9061..8e63e43b756 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,11 @@ +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-05 Michael Meissner <meissner@linux.ibm.com> * config.host: Delete changes meant for a private branch. |