summaryrefslogtreecommitdiffstats
path: root/include/libc-internal.h
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:20:21 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2006-01-05 01:20:21 +0000
commit2a214a4cb8d68d3ab6d202feb3baabe31cc64355 (patch)
tree2d57d3bba0123ccb4af6cab399903b92f61c900f /include/libc-internal.h
parent31e1fd4f8a380e2540426cd863b83c7c2e6a4376 (diff)
downloaduClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.bz2
uClibc-alpine-2a214a4cb8d68d3ab6d202feb3baabe31cc64355.tar.xz
Clean up headers for the install target. Also define 'attribute_tls_model_ie' in 'libc-internal.h' where it belongs. Update includes in a few other miscellaneous files.
Diffstat (limited to 'include/libc-internal.h')
-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 03f17dd43..742622e13 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -126,6 +126,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>