summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-11-24 23:03:03 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-11-24 23:04:14 +0100
commita11fcabb4a6a1a384363329ebdb3569a1df246f8 (patch)
tree0a5d30b16d9704f40ea3cebdc0420aae9586d367
parent157400bfd96564424fc932e289cff99578e166b9 (diff)
Revert "ldso: silence warning about unused tls var if !tls"
This reverts commit 23fa805150d573a913cad69d34c06f3b2ce54270. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r--ldso/libdl/libdl.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 028b9ad05..3957e846f 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -612,9 +612,7 @@ void *dlsym(void *vhandle, const char *name)
ElfW(Addr) from;
struct dyn_elf *rpnt;
void *ret;
-#if defined(USE_TLS) && USE_TLS && defined SHARED
struct elf_resolve *tls_tpnt = NULL;
-#endif
/* Nastiness to support underscore prefixes. */
#ifdef __UCLIBC_UNDERSCORES__
char tmp_buf[80];