[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.
This commit is contained in:
parent
39706328c4
commit
5cb0dbd6b1
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
9
gcc/ada/vxworks7-cert-rtp-link.spec
Normal file
9
gcc/ada/vxworks7-cert-rtp-link.spec
Normal file
|
@ -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) \
|
||||
}}}
|
Loading…
Add table
Reference in a new issue