summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-11 11:43:46 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-11 11:43:46 -0800
commitf77f0e479274d401b36efce2e1e2a44753157daf (patch)
treed5e4e08babc38b418817db70b0c3b9d8ddad50b4 /ldso
parent377388043d1da1f361cd8298622789c746e87e3f (diff)
ldso: fix USE_TLS check
this was causing tls symbols to leak into non-tls builds Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'ldso')
-rw-r--r--ldso/include/ldso.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ldso/include/ldso.h b/ldso/include/ldso.h
index e5669057c..53bb5be9e 100644
--- a/ldso/include/ldso.h
+++ b/ldso/include/ldso.h
@@ -72,7 +72,7 @@ extern char *_dl_ldsopath; /* Where the shared lib loader was found
extern const char *_dl_progname; /* The name of the executable being run */
extern size_t _dl_pagesize; /* Store the page size for use later */
-#ifdef USE_TLS
+#if defined(USE_TLS) && USE_TLS
extern void _dl_add_to_slotinfo (struct link_map *l);
extern void ** __attribute__ ((const)) _dl_initial_error_catch_tsd (void);
#endif