diff options
author | Austin Foxley <austinf@cetoncorp.com> | 2010-02-11 11:43:46 -0800 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2010-02-11 11:43:46 -0800 |
commit | f77f0e479274d401b36efce2e1e2a44753157daf (patch) | |
tree | d5e4e08babc38b418817db70b0c3b9d8ddad50b4 | |
parent | 377388043d1da1f361cd8298622789c746e87e3f (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>
-rw-r--r-- | ldso/include/ldso.h | 2 |
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 |