From: Pierre-Marie de Rodat Date: Thu, 31 May 2018 10:47:45 +0000 (+0000) Subject: [Ada] Add missing spec files for VxWorks runtimes X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=76bce685d74c0db0ab68e22a5b4ca07dc0bea59d;p=gcc.git [Ada] Add missing spec files for VxWorks runtimes 2018-05-31 Pierre-Marie de Rodat 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 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index 6aecd8919bc..5590ecaf3b3 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,10 @@ +2018-05-31 Pierre-Marie de Rodat + + * 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 * gnatvsn.adb: Re-center the copyright header. diff --git a/gcc/ada/vxworks-arm-link.spec b/gcc/ada/vxworks-arm-link.spec new file mode 100644 index 00000000000..71c983247e7 --- /dev/null +++ b/gcc/ada/vxworks-arm-link.spec @@ -0,0 +1,4 @@ +*lib: ++ %{mrtp:%{!shared: \ + -L%:getenv(WIND_BASE /target/lib/usr/lib/arm/ARMARCH7/common) \ + }} diff --git a/gcc/ada/vxworks-e500-link.spec b/gcc/ada/vxworks-e500-link.spec new file mode 100644 index 00000000000..befeba140f4 --- /dev/null +++ b/gcc/ada/vxworks-e500-link.spec @@ -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)) \ + }} diff --git a/gcc/ada/vxworks-gnat-crtbe-link.spec b/gcc/ada/vxworks-gnat-crtbe-link.spec new file mode 100644 index 00000000000..81cdbfbc49f --- /dev/null +++ b/gcc/ada/vxworks-gnat-crtbe-link.spec @@ -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}} + diff --git a/gcc/ada/vxworks-smp-arm-link.spec b/gcc/ada/vxworks-smp-arm-link.spec new file mode 100644 index 00000000000..0370716825d --- /dev/null +++ b/gcc/ada/vxworks-smp-arm-link.spec @@ -0,0 +1,4 @@ +*lib: ++ %{mrtp:%{!shared: \ + -L%:getenv(WIND_BASE /target/lib_smp/usr/lib/arm/ARMARCH7/common) \ + }} diff --git a/gcc/ada/vxworks-smp-e500-link.spec b/gcc/ada/vxworks-smp-e500-link.spec new file mode 100644 index 00000000000..799bd190797 --- /dev/null +++ b/gcc/ada/vxworks-smp-e500-link.spec @@ -0,0 +1,4 @@ +*lib: ++ %{mrtp:%{!shared: \ + -L%:getenv(WIND_BASE /target/lib_smp/usr/lib/ppc/PPC32/e500v2common) \ + }} diff --git a/gcc/ada/vxworks-smp-ppc-link.spec b/gcc/ada/vxworks-smp-ppc-link.spec new file mode 100644 index 00000000000..b68cac22c14 --- /dev/null +++ b/gcc/ada/vxworks-smp-ppc-link.spec @@ -0,0 +1,4 @@ +*lib: ++ %{mrtp:%{!shared: \ + -L%:getenv(WIND_BASE /target/lib_smp/usr/lib/ppc/PPC32/common) \ + }} diff --git a/gcc/ada/vxworks-smp-x86-link.spec b/gcc/ada/vxworks-smp-x86-link.spec new file mode 100644 index 00000000000..98a60c11297 --- /dev/null +++ b/gcc/ada/vxworks-smp-x86-link.spec @@ -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) \ + } \ + }}