[git commit] link.h: guard TLS related internals of struct link_map with _LIBC
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:26 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=a2fdd604dfee7e38fa6823b389312051a5dbcfc6
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/link.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/include/link.h b/include/link.h
index 185ee70..405e567 100644
--- a/include/link.h
+++ b/include/link.h
@@ -110,7 +110,7 @@ struct link_map
char *l_name; /* Absolute file name object was found in. */
ElfW(Dyn) *l_ld; /* Dynamic section of the shared object. */
struct link_map *l_next, *l_prev; /* Chain of loaded objects. */
-
+#ifdef _LIBC
#if defined(USE_TLS) && USE_TLS
/* Thread-local storage related info. */
@@ -134,6 +134,7 @@ struct link_map
/* Nonzero if _dl_init_static_tls should be called for this module */
unsigned int l_need_tls_init:1;
#endif
+#endif
};
#ifdef __USE_GNU
More information about the uClibc-cvs
mailing list