diff options
author | Doug Rupp <rupp@adacore.com> | 2020-09-16 08:05:10 -0700 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2020-10-27 05:19:35 -0400 |
commit | 5cb0dbd6b19ddc0d569c67fb4346405bf66dedaf (patch) | |
tree | d03b896cca7293d988ee7acc9687c582f536b4c1 /gcc | |
parent | 39706328c467adf881b8dcba281e4febe166a763 (diff) | |
download | gcc-5cb0dbd6b19ddc0d569c67fb4346405bf66dedaf.zip gcc-5cb0dbd6b19ddc0d569c67fb4346405bf66dedaf.tar.gz gcc-5cb0dbd6b19ddc0d569c67fb4346405bf66dedaf.tar.bz2 |
[Ada] vx7r2cert: port ARM, PowerPC and x86 targets
gcc/ada/
* Makefile.rtl: Add vx7r2cert spec file to ARM, PowerPC and x86
targets.
* vxworks7-cert-rtp-link.spec: New spec file.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/Makefile.rtl | 5 | ||||
-rw-r--r-- | gcc/ada/vxworks7-cert-rtp-link.spec | 9 |
2 files changed, 14 insertions, 0 deletions
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl index b7df078..bdaa805 100644 --- a/gcc/ada/Makefile.rtl +++ b/gcc/ada/Makefile.rtl @@ -1136,6 +1136,7 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7% vxworks7spe else GCC_SPEC_FILES+=vxworks7-rtp-base-link.spec endif + GCC_SPEC_FILES+=vxworks7-cert-rtp-link.spec else GCC_SPEC_FILES+=vxworks-$(ARCH_STR)-link.spec GCC_SPEC_FILES+=vxworks-cert-$(ARCH_STR)-link.spec @@ -1411,6 +1412,7 @@ ifeq ($(strip $(filter-out %86 x86_64 wrs vxworks vxworks7%,$(target_cpu) $(targ ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) GCC_SPEC_FILES+=vxworks7-$(X86CPU)-rtp-base-link.spec + GCC_SPEC_FILES+=vxworks7-cert-rtp-link.spec else GCC_SPEC_FILES+=vxworks-x86-link.spec GCC_SPEC_FILES+=vxworks-cert-x86-link.spec @@ -1534,6 +1536,9 @@ ifeq ($(strip $(filter-out aarch64 arm% coff wrs vx%,$(target_cpu) $(target_vend GCC_SPEC_FILES+=vxworks-smp-arm-link.spec endif endif + ifeq ($(strip $(filter-out vxworks7%, $(target_os))),) + GCC_SPEC_FILES+=vxworks7-cert-rtp-link.spec + endif endif # ARM android diff --git a/gcc/ada/vxworks7-cert-rtp-link.spec b/gcc/ada/vxworks7-cert-rtp-link.spec new file mode 100644 index 0000000..0e0440f --- /dev/null +++ b/gcc/ada/vxworks7-cert-rtp-link.spec @@ -0,0 +1,9 @@ +*self_spec: ++ %{!nostdlib:-nodefaultlibs -nostartfiles} + +*link: ++ %{!nostdlib:%{mrtp:%{!shared: \ + -l:certRtp.o \ + -L%:getenv(VSB_DIR /usr/lib/common/objcert) \ + -T%:getenv(VSB_DIR /usr/ldscripts/rtp.ld) \ + }}} |