"Steven J. Hill" 18 лет назад
Родитель
Сommit
82efaae8d7
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      include/libc-internal.h

+ 4 - 0
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>