diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-03-16 22:15:05 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:26 +0200 |
commit | a2fdd604dfee7e38fa6823b389312051a5dbcfc6 (patch) | |
tree | 47ba778c5e64702914f12699375a8ac15e872c9b | |
parent | cebc143270492fbd817e572281e480f8e5cc86ec (diff) |
link.h: guard TLS related internals of struct link_map with _LIBC
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | include/link.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/link.h b/include/link.h index 185ee701e..405e567a1 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 |