summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/libc-internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 6cd4feb53..b07965f33 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -174,6 +174,10 @@
# define attribute_noreturn
#endif
+#ifdef __UCLIBC_HAS_THREADS_NATIVE__
+# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
+#endif
+
/* Pull in things like __attribute_used__ */
#include <sys/cdefs.h>