From: Alexandre Oliva <[email protected]>
Adding -msmp to linker options in system-vxworks-ppc-rtp-smp.ads
obviated vxworks-smp-ppc-link.spec. Drop it.
gcc/ada/ChangeLog:
* libgnat/system-vxworks-ppc-rtp-smp.ads: Drop
--specs=vxworks-ppc-link.spec from Linker_Options.
* vxworks-smp-ppc-link.spec: Delete.
Tested on x86_64-pc-linux-gnu, committed on master.
---
gcc/ada/libgnat/system-vxworks-ppc-rtp-smp.ads | 1 -
gcc/ada/vxworks-smp-ppc-link.spec | 4 ----
2 files changed, 5 deletions(-)
delete mode 100644 gcc/ada/vxworks-smp-ppc-link.spec
diff --git a/gcc/ada/libgnat/system-vxworks-ppc-rtp-smp.ads
b/gcc/ada/libgnat/system-vxworks-ppc-rtp-smp.ads
index d4bcefd1a44..1896bfaec22 100644
--- a/gcc/ada/libgnat/system-vxworks-ppc-rtp-smp.ads
+++ b/gcc/ada/libgnat/system-vxworks-ppc-rtp-smp.ads
@@ -121,7 +121,6 @@ package System is
private
pragma Linker_Options ("-msmp");
- pragma Linker_Options ("--specs=vxworks-smp-ppc-link.spec");
pragma Linker_Options ("--specs=vxworks-ppc-link.spec");
-- Setup proper set of -L's for this configuration
diff --git a/gcc/ada/vxworks-smp-ppc-link.spec
b/gcc/ada/vxworks-smp-ppc-link.spec
deleted file mode 100644
index b68cac22c14..00000000000
--- a/gcc/ada/vxworks-smp-ppc-link.spec
+++ /dev/null
@@ -1,4 +0,0 @@
-*lib:
-+ %{mrtp:%{!shared: \
- -L%:getenv(WIND_BASE /target/lib_smp/usr/lib/ppc/PPC32/common) \
- }}
--
2.43.0