summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/ldso/xtensa/dl-tlsdesc.S6
1 files changed, 2 insertions, 4 deletions
diff --git a/ldso/ldso/xtensa/dl-tlsdesc.S b/ldso/ldso/xtensa/dl-tlsdesc.S
index f1bbf4104..0638af439 100644
--- a/ldso/ldso/xtensa/dl-tlsdesc.S
+++ b/ldso/ldso/xtensa/dl-tlsdesc.S
@@ -18,12 +18,10 @@
#include <sysdep.h>
-#if defined(USE_TLS) && USE_TLS
-
+#if defined __UCLIBC_HAS_TLS__
#include <tls.h>
#include "tlsdesc.h"
-
.text
.align 4
.hidden _dl_tlsdesc_return
@@ -97,4 +95,4 @@ _dl_tlsdesc_dynamic:
.size _dl_tlsdesc_dynamic, .-_dl_tlsdesc_dynamic
#endif /* SHARED */
-#endif /* USE_TLS */
+#endif