From: Douglas B Rupp Date: Thu, 11 Sep 2025 17:13:35 +0000 (-0700) Subject: ada: Remove rtp base spec linker option pragma X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5d3f5fde935c8df89ad8f0ce567b3f1f21694011;p=thirdparty%2Fgcc.git 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 --git a/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads b/gcc/ada/libgnat/system-vxworks7-aarch64-rtp-smp.ads index 1a96736cec1..7b01f8527ec 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 862062f8e7c..1958e1021f6 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 e289495b720..f8c69d6f885 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 9d73cee9720..de3f68d3ebe 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 3c82efd8e21..539e6bdf301 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;