diff options
| author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-20 13:36:21 +0000 |
|---|---|---|
| committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2009-02-20 13:36:21 +0000 |
| commit | ea3109b772d7eb7abac01640f7c00fa1eafbd8ca (patch) | |
| tree | d57c78470a935c9185f3d378dea9fd1c4605f0dc /include/libc-internal.h | |
| parent | fedaf715da59d4aa12400936a12f3309bb8fe9b1 (diff) | |
| download | uClibc-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.h | 2 |
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 |
