From: Peter S. Mazinger Date: Fri, 18 Mar 2011 22:33:19 +0000 (+0100) Subject: libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=33d1d05a5d4a53da6386f84bbe5559e3284ac55a;p=uclinux-h8%2FuClibc.git libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds Signed-off-by: Peter S. Mazinger Signed-off-by: Bernhard Reutner-Fischer --- diff --git a/include/libc-internal.h b/include/libc-internal.h index 74c35422b..b56068c6a 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__ */