public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/users/pheeck/heads/sccp)] RTEMS: Use local-exec TLS model by default
@ 2023-02-15 10:17 Filip Kastl
  0 siblings, 0 replies; only message in thread
From: Filip Kastl @ 2023-02-15 10:17 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:0eb7f46e1dc3e84f7aa3363dfd46cb69b7dbc4be

commit 0eb7f46e1dc3e84f7aa3363dfd46cb69b7dbc4be
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date:   Fri Jul 22 14:11:10 2022 +0200

    RTEMS: Use local-exec TLS model by default
    
    gcc/ChangeLog:
    
            * config/rtems.h (SUBTARGET_CC1_SPEC): Undef and define.

Diff:
---
 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}"

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-15 10:17 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-15 10:17 [gcc(refs/users/pheeck/heads/sccp)] RTEMS: Use local-exec TLS model by default Filip Kastl

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