OSDN Git Service
(root)
/
uclinux-h8
/
uClibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
464ec42
)
libc-internal.h: provide dummy attribute_tls_model_ie and __thread for non TLS builds
author
Peter S. Mazinger
<ps.m@gmx.net>
Fri, 18 Mar 2011 22:33:19 +0000
(23:33 +0100)
committer
Bernhard Reutner-Fischer
<rep.dot.nop@gmail.com>
Fri, 15 Jun 2012 12:00:28 +0000
(14:00 +0200)
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
include/libc-internal.h
patch
|
blob
|
history
diff --git
a/include/libc-internal.h
b/include/libc-internal.h
index
74c3542
..
b56068c
100644
(file)
--- 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__ */