about summary refs log tree commit diff
path: root/elf/tst-tlsmod8.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod8.c')
-rw-r--r--elf/tst-tlsmod8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-tlsmod8.c b/elf/tst-tlsmod8.c
index 904c9b282c..c1822fc0cf 100644
--- a/elf/tst-tlsmod8.c
+++ b/elf/tst-tlsmod8.c
@@ -1,7 +1,7 @@
 #include "tst-tls10.h"
 
 #ifdef USE_TLS__THREAD
-static __thread long long dummy = 12;
+__thread long long dummy __attribute__((visibility ("hidden"))) = 12;
 __thread struct A a2 = { 22, 23, 24 };
 __thread struct A a4 __attribute__((tls_model("initial-exec")))
   = { 25, 26, 27 };