[git commit future 1/1] libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds

Peter S. Mazinger ps.m at gmx.net
Wed Mar 16 19:20:32 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=cfe36644e1bfa110d13fc1b90f618973bf247fb4
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 include/libc-internal.h |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/include/libc-internal.h b/include/libc-internal.h
index 981ca90..dcfc1c3 100644
--- a/include/libc-internal.h
+++ b/include/libc-internal.h
@@ -29,6 +29,9 @@
 
 #ifdef __UCLIBC_HAS_TLS__
 # define attribute_tls_model_ie __attribute__ ((tls_model ("initial-exec")))
+#else
+# define attribute_tls_model_ie
+# define __thread
 #endif
 
 /* Pull in things like __attribute_used__ */
-- 
1.7.3.4



More information about the uClibc-cvs mailing list