[Ada] Add missing spec files for VxWorks runtimes

2018-05-31  Pierre-Marie de Rodat  <derodat@adacore.com>

gcc/ada/

	* vxworks-arm-link.spec, vxworks-e500-link.spec,
	vxworks-gnat-crtbe-link.spec, vxworks-smp-arm-link.spec,
	vxworks-smp-e500-link.spec, vxworks-smp-ppc-link.spec,
	vxworks-smp-x86-link.spec: New files.

From-SVN: r261017
This commit is contained in:
Pierre-Marie de Rodat 2018-05-31 10:47:45 +00:00 committed by Pierre-Marie de Rodat
parent 986bd14e3a
commit 76bce685d7
8 changed files with 54 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2018-05-31 Pierre-Marie de Rodat <derodat@adacore.com>
* vxworks-arm-link.spec, vxworks-e500-link.spec,
vxworks-gnat-crtbe-link.spec, vxworks-smp-arm-link.spec,
vxworks-smp-e500-link.spec, vxworks-smp-ppc-link.spec,
vxworks-smp-x86-link.spec: New files.
2018-05-31 Pierre-Marie de Rodat <derodat@adacore.com>
* gnatvsn.adb: Re-center the copyright header.

View File

@ -0,0 +1,4 @@
*lib:
+ %{mrtp:%{!shared: \
-L%:getenv(WIND_BASE /target/lib/usr/lib/arm/ARMARCH7/common) \
}}

View File

@ -0,0 +1,6 @@
*lib:
+ %{mrtp:%{!shared: \
-L%:if-exists-else( \
%:getenv(WIND_BASE /target/lib/usr/lib/ppc/PPC32/e500v2common) \
%:getenv(WIND_BASE /target/usr/lib/ppc/PPC32/e500v2common)) \
}}

View File

@ -0,0 +1,16 @@
*self_spec:
+ %{!auto-register:%{!noauto-register:-auto-register}} \
%{!crtbe:%{!nocrtbe:-crtbe}}
*startfile:
+ %{crtbe:%{!nocrtbe: \
%{mrtp:-l:vx_crtbegin_attr.o%s} \
%{!mrtp: \
%{auto-register:-l:vx_crtbegin_array.o%s} \
%{!auto-register:-l:vx_crtbegin.o%s} \
} \
}}
*endfile:
+ %{crtbe:%{!nocrtbe:-l:vx_crtend.o%s}}

View File

@ -0,0 +1,4 @@
*lib:
+ %{mrtp:%{!shared: \
-L%:getenv(WIND_BASE /target/lib_smp/usr/lib/arm/ARMARCH7/common) \
}}

View File

@ -0,0 +1,4 @@
*lib:
+ %{mrtp:%{!shared: \
-L%:getenv(WIND_BASE /target/lib_smp/usr/lib/ppc/PPC32/e500v2common) \
}}

View File

@ -0,0 +1,4 @@
*lib:
+ %{mrtp:%{!shared: \
-L%:getenv(WIND_BASE /target/lib_smp/usr/lib/ppc/PPC32/common) \
}}

View File

@ -0,0 +1,9 @@
*lib:
+ %{mrtp:%{!shared: \
%{vxsim: \
-L%:getenv(WIND_BASE /target/lib_smp/usr/lib/simpentium/SIMPENTIUM/common) \
} \
%{!vxsim: \
-L%:getenv(WIND_BASE /target/lib_smp/usr/lib/pentium/PENTIUM4/common) \
} \
}}