public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Pierre-Marie de Rodat <pmderodat@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r12-5032] [Ada] Add gcc specs with vxworks7 base addresses for cert
Date: Tue,  9 Nov 2021 09:46:51 +0000 (GMT)	[thread overview]
Message-ID: <20211109094651.4886B385843D@sourceware.org> (raw)

https://gcc.gnu.org/g:cbe421bd45d1994524b7312ab521dcc8b51cbfc6

commit r12-5032-gcbe421bd45d1994524b7312ab521dcc8b51cbfc6
Author: Johannes Kliemann <kliemann@adacore.com>
Date:   Mon Oct 25 13:53:59 2021 +0000

    [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.

Diff:
---
 gcc/ada/vxworks7-cert-rtp-base-link.spec         | 2 ++
 gcc/ada/vxworks7-cert-rtp-base-link__ppc64.spec  | 2 ++
 gcc/ada/vxworks7-cert-rtp-base-link__x86.spec    | 2 ++
 gcc/ada/vxworks7-cert-rtp-base-link__x86_64.spec | 2 ++
 gcc/ada/vxworks7-cert-rtp-link.spec              | 2 +-
 5 files changed, 9 insertions(+), 1 deletion(-)

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 00000000000..1d6ee49b128
--- /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 00000000000..97332b85440
--- /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 00000000000..eafb5828b37
--- /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 00000000000..dd288690ab9
--- /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 4bbf3762cc7..9923c58defa 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) \
    }}}


                 reply	other threads:[~2021-11-09  9:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211109094651.4886B385843D@sourceware.org \
    --to=pmderodat@gcc.gnu.org \
    --cc=gcc-cvs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).