public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r13-4216] RTEMS: Use local-exec TLS model by default
@ 2022-11-21 19:40 Sebastian Huber
  0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-11-21 19:40 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:5c0d171f67d082c353ddc319859111d3b9126c17

commit r13-4216-g5c0d171f67d082c353ddc319859111d3b9126c17
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:[~2022-11-21 19:40 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-21 19:40 [gcc r13-4216] RTEMS: Use local-exec TLS model by default Sebastian Huber

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