public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5034] [Ada] Use atomics in runtime on ARM and Aarch64 VxWorks
@ 2021-11-09 9:47 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-11-09 9:47 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:c8a0089baf7597baca757ee173a2a948c9697567
commit r12-5034-gc8a0089baf7597baca757ee173a2a948c9697567
Author: Piotr Trojanek <trojanek@adacore.com>
Date: Wed Oct 27 13:33:53 2021 +0200
[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:
---
gcc/ada/Makefile.rtl | 4 +++-
gcc/ada/libgnat/a-strunb__shared.ads | 2 ++
gcc/ada/libgnat/s-atocou.ads | 2 ++
3 files changed, 7 insertions(+), 1 deletion(-)
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index ebfbe95c5e9..8eaddde5639 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<libgnat/g-socthi__vxworks.ads \
g-socthi.adb<libgnat/g-socthi__vxworks.adb \
g-sopowa.adb<libgnat/g-sopowa__posix.adb \
- g-stsifd.adb<libgnat/g-stsifd__sockets.adb
+ g-stsifd.adb<libgnat/g-stsifd__sockets.adb \
+ $(ATOMICS_TARGET_PAIRS) \
+ $(ATOMICS_BUILTINS_TARGET_PAIRS)
ifeq ($(strip $(filter-out aarch64, $(target_cpu))),)
ARCH_STR=aarch64
diff --git a/gcc/ada/libgnat/a-strunb__shared.ads b/gcc/ada/libgnat/a-strunb__shared.ads
index 2cf678002ba..34430a79c95 100644
--- a/gcc/ada/libgnat/a-strunb__shared.ads
+++ b/gcc/ada/libgnat/a-strunb__shared.ads
@@ -45,6 +45,8 @@ pragma Assertion_Policy (Pre => 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 9488b6dd731..9b25cbaebea 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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-09 9:47 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-09 9:47 [gcc r12-5034] [Ada] Use atomics in runtime on ARM and Aarch64 VxWorks Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).