public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Sebastian Huber <sebastian.huber@embedded-brains.de>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH 2/2] RTEMS: Use local-exec TLS model by default
Date: Fri, 22 Jul 2022 15:02:50 +0200	[thread overview]
Message-ID: <20220722130250.59766-2-sebastian.huber@embedded-brains.de> (raw)
In-Reply-To: <20220722130250.59766-1-sebastian.huber@embedded-brains.de>

gcc/ChangeLog:

	* config/rtems.h (SUBTARGET_CC1_SPEC): Undef and define.
---
 gcc/config/rtems.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/config/rtems.h b/gcc/config/rtems.h
index 95bcdc41b2f..4742b1f3722 100644
--- a/gcc/config/rtems.h
+++ b/gcc/config/rtems.h
@@ -56,3 +56,7 @@
 /* Prefer int for int32_t (see stdint-newlib.h).  */
 #undef STDINT_LONG32
 #define STDINT_LONG32 (INT_TYPE_SIZE != 32 && LONG_TYPE_SIZE == 32)
+
+/* Default to local-exec TLS model.  */
+#undef SUBTARGET_CC1_SPEC
+#define SUBTARGET_CC1_SPEC " %{!ftls-model=*:-ftls-model=local-exec}"
-- 
2.35.3


  reply	other threads:[~2022-07-22 13:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-22 13:02 [PATCH 1/2] Allow subtarget customization of CC1_SPEC Sebastian Huber
2022-07-22 13:02 ` Sebastian Huber [this message]
2022-07-22 14:02 ` Jose E. Marchesi
2022-07-25  5:59   ` Sebastian Huber
2022-07-25  6:06     ` Iain Sandoe
2022-08-04 13:02 ` Sebastian Huber
2022-09-08  5:33   ` Sebastian Huber
2022-10-04  9:47     ` Sebastian Huber
2022-10-26  9:34       ` Sebastian Huber
2022-11-20 16:57         ` Jeff Law
2022-11-21  7:26           ` Sebastian Huber
2022-11-21 14:58             ` Jeff Law

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=20220722130250.59766-2-sebastian.huber@embedded-brains.de \
    --to=sebastian.huber@embedded-brains.de \
    --cc=gcc-patches@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).