From f77f0e479274d401b36efce2e1e2a44753157daf Mon Sep 17 00:00:00 2001 From: Austin Foxley Date: Thu, 11 Feb 2010 11:43:46 -0800 Subject: ldso: fix USE_TLS check this was causing tls symbols to leak into non-tls builds Signed-off-by: Austin Foxley --- ldso/include/ldso.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/include') 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 -- cgit v1.2.3