summaryrefslogtreecommitdiff
path: root/elf/tst-tls5.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tls5.c')
-rw-r--r--elf/tst-tls5.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/tst-tls5.c b/elf/tst-tls5.c
index 27b18294fb..a571d2cd3f 100644
--- a/elf/tst-tls5.c
+++ b/elf/tst-tls5.c
@@ -9,6 +9,7 @@
static int
do_test (void)
{
+#ifdef USE_TLS
static const char modname[] = "tst-tlsmod2.so";
int result = 0;
int *foop;
@@ -62,6 +63,9 @@ do_test (void)
dlclose (h);
return result;
+#else
+ return 0;
+#endif
}