From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id 7A08D3858416; Tue, 9 Nov 2021 09:47:01 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A08D3858416 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Pierre-Marie de Rodat To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-5034] [Ada] Use atomics in runtime on ARM and Aarch64 VxWorks X-Act-Checkin: gcc X-Git-Author: Piotr Trojanek X-Git-Refname: refs/heads/master X-Git-Oldrev: 51e99ead9197fe4d6a8db8e9746e821abce76213 X-Git-Newrev: c8a0089baf7597baca757ee173a2a948c9697567 Message-Id: <20211109094701.7A08D3858416@sourceware.org> Date: Tue, 9 Nov 2021 09:47:01 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Nov 2021 09:47:01 -0000 https://gcc.gnu.org/g:c8a0089baf7597baca757ee173a2a948c9697567 commit r12-5034-gc8a0089baf7597baca757ee173a2a948c9697567 Author: Piotr Trojanek 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 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