aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/sparc/linux.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/sparc/linux.h')
-rw-r--r--gcc/config/sparc/linux.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h
index 87d3a70..a53e796 100644
--- a/gcc/config/sparc/linux.h
+++ b/gcc/config/sparc/linux.h
@@ -232,6 +232,13 @@ do { \
#define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
#endif
+#ifdef HAVE_AS_TLS
+#undef TARGET_SUN_TLS
+#undef TARGET_GNU_TLS
+#define TARGET_SUN_TLS 0
+#define TARGET_GNU_TLS 1
+#endif
+
/* Don't be different from other Linux platforms in this regard. */
#define HANDLE_PRAGMA_PACK_PUSH_POP