aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJohannes Kliemann <kliemann@adacore.com>2021-10-25 13:53:59 +0000
committerPierre-Marie de Rodat <derodat@adacore.com>2021-11-09 09:44:49 +0000
commitcbe421bd45d1994524b7312ab521dcc8b51cbfc6 (patch)
tree5eb83fd1d11c8637d421a8d55ceb59da8adac88c /gcc
parent7751c73202f1f1336769607b0cd5cf516e29089a (diff)
downloadgcc-cbe421bd45d1994524b7312ab521dcc8b51cbfc6.zip
gcc-cbe421bd45d1994524b7312ab521dcc8b51cbfc6.tar.gz
gcc-cbe421bd45d1994524b7312ab521dcc8b51cbfc6.tar.bz2
[Ada] Add gcc specs with vxworks7 base addresses for cert
gcc/ada/ * vxworks7-cert-rtp-link.spec: Replace the definition of __wrs_rtp_base with the base_link spec. * vxworks7-cert-rtp-base-link.spec: Add base_link spec with __wrs_rtp_base definition for all architectures. * vxworks7-cert-rtp-base-link__ppc64.spec: Add base_link spec with __wrs_rtp_base definition for ppc64. * vxworks7-cert-rtp-base-link__x86.spec: Add base_link spec with __wrs_rtp_base definition for x86. * vxworks7-cert-rtp-base-link__x86_64.spec: Add base_link spec with __wrs_rtp_base definition for x86_64.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/vxworks7-cert-rtp-base-link.spec2
-rw-r--r--gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec2
-rw-r--r--gcc/ada/vxworks7-cert-rtp-base-link__x86.spec2
-rw-r--r--gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec2
-rw-r--r--gcc/ada/vxworks7-cert-rtp-link.spec2
5 files changed, 9 insertions, 1 deletions
diff --git a/gcc/ada/vxworks7-cert-rtp-base-link.spec b/gcc/ada/vxworks7-cert-rtp-base-link.spec
new file mode 100644
index 0000000..1d6ee49
--- /dev/null
+++ b/gcc/ada/vxworks7-cert-rtp-base-link.spec
@@ -0,0 +1,2 @@
+*base_link:
+--defsym=__wrs_rtp_base=0x80000000
diff --git a/gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec b/gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec
new file mode 100644
index 0000000..97332b8
--- /dev/null
+++ b/gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec
@@ -0,0 +1,2 @@
+*base_link:
+--defsym=__wrs_rtp_base=0x40000000
diff --git a/gcc/ada/vxworks7-cert-rtp-base-link__x86.spec b/gcc/ada/vxworks7-cert-rtp-base-link__x86.spec
new file mode 100644
index 0000000..eafb582
--- /dev/null
+++ b/gcc/ada/vxworks7-cert-rtp-base-link__x86.spec
@@ -0,0 +1,2 @@
+*base_link:
+--defsym=__wrs_rtp_base=0x400000
diff --git a/gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec b/gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec
new file mode 100644
index 0000000..dd28869
--- /dev/null
+++ b/gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec
@@ -0,0 +1,2 @@
+*base_link:
+--defsym=__wrs_rtp_base=0x200000
diff --git a/gcc/ada/vxworks7-cert-rtp-link.spec b/gcc/ada/vxworks7-cert-rtp-link.spec
index 4bbf376..9923c58 100644
--- a/gcc/ada/vxworks7-cert-rtp-link.spec
+++ b/gcc/ada/vxworks7-cert-rtp-link.spec
@@ -3,8 +3,8 @@
*link:
+ %{!nostdlib:%{mrtp:%{!shared: \
+ %(base_link) \
-l:certRtp.o \
-L%:getenv(VSB_DIR /usr/lib/common/objcert) \
- --defsym=__wrs_rtp_base=0x80000000 \
-T%:getenv(VSB_DIR /usr/ldscripts/rtp.ld) \
}}}