public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-5039] [Ada] RTEMS: use atomic primitive packages on aarch64
@ 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:f6174ec5bd9c2560f009c8c84170944b08535330
commit r12-5039-gf6174ec5bd9c2560f009c8c84170944b08535330
Author: Patrick Bernardi <bernardi@adacore.com>
Date: Thu Oct 28 15:05:17 2021 -0400
[Ada] RTEMS: use atomic primitive packages on aarch64
gcc/ada/
* Makefile.rtl: Add ATOMICS_TARGET_PAIRS and
ATOMICS_BUILTINS_TARGET_PAIRS to LIBGNAT_TARGET_PAIRS for
aarch64-rtems.
Diff:
---
gcc/ada/Makefile.rtl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 8eaddde5639..fb3f6f60a41 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -2072,6 +2072,13 @@ ifeq ($(strip $(filter-out rtems%,$(target_os))),)
ifeq ($(strip $(filter-out aarch64% riscv%,$(target_cpu))),)
LIBGNAT_TARGET_PAIRS += a-nallfl.ads<libgnat/a-nallfl__wraplf.ads
endif
+
+ # Target CPUs that support atomic primitives
+ ifeq ($(strip $(filter-out aarch64%,$(target_cpu))),)
+ LIBGNAT_TARGET_PAIRS += \
+ $(ATOMICS_TARGET_PAIRS) \
+ $(ATOMICS_BUILTINS_TARGET_PAIRS)
+ endif
endif
# PikeOS
^ 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-5039] [Ada] RTEMS: use atomic primitive packages on aarch64 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).