https://gcc.gnu.org/g:5d3f5fde935c8df89ad8f0ce567b3f1f21694011

commit r16-4053-g5d3f5fde935c8df89ad8f0ce567b3f1f21694011
Author: Douglas B Rupp <r...@adacore.com>
Date:   Thu Sep 11 10:13:35 2025 -0700

    ada: Remove rtp base spec linker option pragma
    
    Remove the linker option pragmas from vxworks7 rtp system specs,
    since this is needed only with gnatmake.  The same info is contained
    in gprbuild, which is the only tool that can be used for building
    vxworks apps.
    
    gcc/ada/ChangeLog:
    
            * libgnat/system-vxworks7-aarch64-rtp-smp.ads (Linker_Options):
            Remove pragma for RTP specs.
            * libgnat/system-vxworks7-ppc-rtp-smp.ads: Likewise.
            * libgnat/system-vxworks7-ppc64-rtp-smp.ads: Likewise.
            * libgnat/system-vxworks7-x86-rtp-smp.ads: Likewise.
            * libgnat/system-vxworks7-x86_64-rtp-smp.ads: Likewise.

Diff:
---
 gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads | 3 ---
 gcc/ada/libgnat/system-vxworks7-ppc-rtp-smp.ads     | 3 ---
 gcc/ada/libgnat/system-vxworks7-ppc64-rtp-smp.ads   | 3 ---
 gcc/ada/libgnat/system-vxworks7-x86-rtp-smp.ads     | 3 ---
 gcc/ada/libgnat/system-vxworks7-x86_64-rtp-smp.ads  | 3 ---
 5 files changed, 15 deletions(-)

diff --git a/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads 
b/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads
index 1a96736cec18..7b01f8527ec9 100644
--- a/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads
@@ -120,9 +120,6 @@ package System is
 
 private
 
-   pragma Linker_Options ("--specs=vxworks7-rtp-base-link.spec");
-   --  Define the symbol wrs_rtp_base
-
    type Address is mod Memory_Size;
    for Address'Size use Standard'Address_Size;
 
diff --git a/gcc/ada/libgnat/system-vxworks7-ppc-rtp-smp.ads 
b/gcc/ada/libgnat/system-vxworks7-ppc-rtp-smp.ads
index 862062f8e7c5..1958e1021f6e 100644
--- a/gcc/ada/libgnat/system-vxworks7-ppc-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks7-ppc-rtp-smp.ads
@@ -120,9 +120,6 @@ package System is
 
 private
 
-   pragma Linker_Options ("--specs=vxworks7-rtp-base-link.spec");
-   --  Define the symbol wrs_rtp_base
-
    type Address is mod Memory_Size;
    for Address'Size use Standard'Address_Size;
 
diff --git a/gcc/ada/libgnat/system-vxworks7-ppc64-rtp-smp.ads 
b/gcc/ada/libgnat/system-vxworks7-ppc64-rtp-smp.ads
index e289495b7203..f8c69d6f8855 100644
--- a/gcc/ada/libgnat/system-vxworks7-ppc64-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks7-ppc64-rtp-smp.ads
@@ -120,9 +120,6 @@ package System is
 
 private
 
-   pragma Linker_Options ("--specs=vxworks7-ppc64-rtp-base-link.spec");
-   --  Define the symbol wrs_rtp_base
-
    type Address is mod Memory_Size;
    for Address'Size use Standard'Address_Size;
 
diff --git a/gcc/ada/libgnat/system-vxworks7-x86-rtp-smp.ads 
b/gcc/ada/libgnat/system-vxworks7-x86-rtp-smp.ads
index 9d73cee9720f..de3f68d3ebe9 100644
--- a/gcc/ada/libgnat/system-vxworks7-x86-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks7-x86-rtp-smp.ads
@@ -118,9 +118,6 @@ package System is
 
 private
 
-   pragma Linker_Options ("--specs=vxworks7-x86-rtp-base-link.spec");
-   --  Define the symbol wrs_rtp_base
-
    type Address is mod Memory_Size;
    for Address'Size use Standard'Address_Size;
 
diff --git a/gcc/ada/libgnat/system-vxworks7-x86_64-rtp-smp.ads 
b/gcc/ada/libgnat/system-vxworks7-x86_64-rtp-smp.ads
index 3c82efd8e213..539e6bdf3017 100644
--- a/gcc/ada/libgnat/system-vxworks7-x86_64-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks7-x86_64-rtp-smp.ads
@@ -118,9 +118,6 @@ package System is
 
 private
 
-   pragma Linker_Options ("--specs=vxworks7-x86_64-rtp-base-link.spec");
-   --  Define the symbol wrs_rtp_base
-
    type Address is mod Memory_Size;
    for Address'Size use Standard'Address_Size;

Reply via email to