]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Add gcc specs with vxworks7 base addresses for cert
authorJohannes Kliemann <kliemann@adacore.com>
Mon, 25 Oct 2021 13:53:59 +0000 (13:53 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 9 Nov 2021 09:44:49 +0000 (09:44 +0000)
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.

gcc/ada/vxworks7-cert-rtp-base-link.spec [new file with mode: 0644]
gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec [new file with mode: 0644]
gcc/ada/vxworks7-cert-rtp-base-link__x86.spec [new file with mode: 0644]
gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec [new file with mode: 0644]
gcc/ada/vxworks7-cert-rtp-link.spec

diff --git a/gcc/ada/vxworks7-cert-rtp-base-link.spec b/gcc/ada/vxworks7-cert-rtp-base-link.spec
new file mode 100644 (file)
index 0000000..1d6ee49
--- /dev/null
@@ -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 (file)
index 0000000..97332b8
--- /dev/null
@@ -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 (file)
index 0000000..eafb582
--- /dev/null
@@ -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 (file)
index 0000000..dd28869
--- /dev/null
@@ -0,0 +1,2 @@
+*base_link:
+--defsym=__wrs_rtp_base=0x200000
index 4bbf3762cc7c0876105df282766a1593597c7844..9923c58defa53538e30b96f727e273c6f1f16b1b 100644 (file)
@@ -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) \
    }}}