From: Piotr Trojanek Date: Wed, 27 Oct 2021 11:33:53 +0000 (+0200) Subject: [Ada] Use atomics in runtime on ARM and Aarch64 VxWorks X-Git-Tag: basepoints/gcc-13~3279 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8a0089baf7597baca757ee173a2a948c9697567;p=thirdparty%2Fgcc.git [Ada] Use atomics in runtime on ARM and Aarch64 VxWorks gcc/ada/ * Makefile.rtl (ARM and Aarch64 VxWorks): Use atomic variants of runtime units. * libgnat/a-strunb__shared.ads: Mention AARCH64 and ARM as supported. * libgnat/s-atocou.ads: Likewise. --- diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index ebfbe95c5e97..8eaddde5639f 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -1362,7 +1362,9 @@ ifeq ($(strip $(filter-out aarch64 arm% coff wrs vx%,$(target_cpu) $(target_vend g-socthi.ads Ignore); -- This version is supported on: -- - all Alpha platforms +-- - all AARCH64 platforms +-- - all ARM platforms -- - all ia64 platforms -- - all PowerPC platforms -- - all SPARC V9 platforms diff --git a/gcc/ada/libgnat/s-atocou.ads b/gcc/ada/libgnat/s-atocou.ads index 9488b6dd7318..9b25cbaebea4 100644 --- a/gcc/ada/libgnat/s-atocou.ads +++ b/gcc/ada/libgnat/s-atocou.ads @@ -31,6 +31,8 @@ -- This package provides atomic counter on platforms where it is supported: -- - all Alpha platforms +-- - all AARCH64 platforms +-- - all ARM platforms -- - all ia64 platforms -- - all PowerPC platforms -- - all SPARC V9 platforms