public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1884] [Ada] vx7-shared-libs - x86_64-vx7r2 (gnat runtime)
@ 2021-06-29 14:25 Pierre-Marie de Rodat
  0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-29 14:25 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:430d508058bfe1c88c582a2256ff4dc3854c369d

commit r12-1884-g430d508058bfe1c88c582a2256ff4dc3854c369d
Author: Doug Rupp <rupp@adacore.com>
Date:   Wed Mar 31 10:29:37 2021 -0700

    [Ada] vx7-shared-libs - x86_64-vx7r2 (gnat runtime)
    
    gcc/ada/
    
            * Makefile.rtl: Add a new ifeq for vx7r2 shared gnatlib.

Diff:
---
 gcc/ada/Makefile.rtl | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index f626c5d26a1..0b8461255f2 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -1200,13 +1200,6 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7% vxworks7spe
     GCC_SPEC_FILES+=vxworks-cert-$(ARCH_STR)-link.spec
     GCC_SPEC_FILES+=vxworks-smp-$(ARCH_STR)-link.spec
   endif
-
-  ifeq ($(strip $(filter-out vxworks7r2 powerpc64 rtp rtp-smp, $(target_os) $(target_cpu) $(THREAD_KIND))),)
-    # Shared libraries are only supported on PowerPC64, VxWorks7r2
-    # ATM.  Also this is disabled for kernel runtimes.
-    GNATLIB_SHARED = gnatlib-shared-dual
-    LIBRARY_VERSION := $(LIB_VERSION)
-  endif
 endif
 
 # PowerPC and e500v2 VxWorks 653
@@ -2973,6 +2966,13 @@ ifeq ($(strip $(filter-out linux%,$(target_os))),)
     g-sercom.adb<libgnat/g-sercom__linux.adb
 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))),)
+    GNATLIB_SHARED = gnatlib-shared-dual
+    LIBRARY_VERSION := $(LIB_VERSION)
+endif
+
 LIBGNAT_TARGET_PAIRS += \
   interfac.ads<libgnat/interfac__2020.ads


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-06-29 14:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-29 14:25 [gcc r12-1884] [Ada] vx7-shared-libs - x86_64-vx7r2 (gnat runtime) 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).