From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1914) id 804BE3857822; Mon, 16 May 2022 08:43:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 804BE3857822 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 r13-478] [Ada] Map gnatlib-shared to gnatlib-shared-dual for aarch64-vx7r2 X-Act-Checkin: gcc X-Git-Author: Olivier Hainque X-Git-Refname: refs/heads/master X-Git-Oldrev: 2878027c64d62b29091f5a816d95b4ad8830210d X-Git-Newrev: d12b8e951c3c13e24b41f4c59157aa0643fd1d44 Message-Id: <20220516084311.804BE3857822@sourceware.org> Date: Mon, 16 May 2022 08:43:11 +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: Mon, 16 May 2022 08:43:11 -0000 https://gcc.gnu.org/g:d12b8e951c3c13e24b41f4c59157aa0643fd1d44 commit r13-478-gd12b8e951c3c13e24b41f4c59157aa0643fd1d44 Author: Olivier Hainque Date: Fri Feb 18 22:57:42 2022 +0000 [Ada] Map gnatlib-shared to gnatlib-shared-dual for aarch64-vx7r2 This is an incremental change towards supporting shared libraries for VxWorks on aarch64. The aarch64-vx7r2 compiler supports compilation with -fpic/PIC. This change adds aarch64 to the list of CPUs for which GNATLIB_SHARED maps to gnatlib-shared-dual for vxworks7r2, so "make gnatlib-shared" actually builds a shared lib. While other adjustments will be needed to get the runtime tests to pass, this one is a necessary step and doesn't impair the rest. gcc/ada/ * Makefile.rtl: Add aarch64 to the list of CPUs for which GNATLIB_SHARED maps to gnatlib-shared-dual for vxworks7r2. Diff: --- gcc/ada/Makefile.rtl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index 0394d967a5f..db9acc3fb7b 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -2854,7 +2854,7 @@ endif # Turn on shared gnatlib for specific vx7r2 targets for RTP runtimes. Once # all targets are ported the target_cpu selector can be removed. -ifeq ($(strip $(filter-out vxworks7r2 powerpc64 x86_64 rtp rtp-smp, $(target_os) $(target_cpu) $(THREAD_KIND))),) +ifeq ($(strip $(filter-out vxworks7r2 powerpc64 x86_64 aarch64 rtp rtp-smp, $(target_os) $(target_cpu) $(THREAD_KIND))),) GNATLIB_SHARED = gnatlib-shared-dual LIBRARY_VERSION := $(LIB_VERSION) endif