[git commit] libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:28 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=33d1d05a5d4a53da6386f84bbe5559e3284ac55a
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
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 74c3542..b56068c 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__ */
More information about the uClibc-cvs
mailing list