Browse Source

Merge from NPTL branch.

"Steven J. Hill" 18 years ago
parent
commit
82efaae8d7
1 changed files with 4 additions and 0 deletions
  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>