summaryrefslogtreecommitdiffstats
path: root/include/libc-internal.h
diff options
context:
space:
mode:
authorCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:36:21 +0000
committerCarmelo Amoroso <carmelo.amoroso@st.com>2009-02-20 13:36:21 +0000
commitea3109b772d7eb7abac01640f7c00fa1eafbd8ca (patch)
treed57c78470a935c9185f3d378dea9fd1c4605f0dc /include/libc-internal.h
parentfedaf715da59d4aa12400936a12f3309bb8fe9b1 (diff)
downloaduClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.bz2
uClibc-alpine-ea3109b772d7eb7abac01640f7c00fa1eafbd8ca.tar.xz
Use __UCLIBC_HAS_TLS__ (now available) as guard for TLS related
stuff, instead of __UCLIBC_HAS_THREADS_NATIVE__. This is in preparation on trunk merge to make TLS compatible with LT (new) and NPTL. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'include/libc-internal.h')
-rw-r--r--include/libc-internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/libc-internal.h b/include/libc-internal.h
index 525444ac8..33956d8b1 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -27,7 +27,7 @@
# define attribute_relro
#endif
-#ifdef __UCLIBC_HAS_THREADS_NATIVE__
+#ifdef __UCLIBC_HAS_TLS__
# define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
#endif