summaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod9.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/tst-tlsmod9.c')
-rw-r--r--elf/tst-tlsmod9.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/tst-tlsmod9.c b/elf/tst-tlsmod9.c
index 7b138f5a05..e124144e47 100644
--- a/elf/tst-tlsmod9.c
+++ b/elf/tst-tlsmod9.c
@@ -1,7 +1,7 @@
#include "tst-tls10.h"
#ifdef USE_TLS__THREAD
-static __thread int dummy = 12;
+__thread int dummy __attribute__((visibility ("hidden"))) = 12;
__thread struct A a1 = { 4, 5, 6 };
__thread struct A a3 __attribute__((tls_model("initial-exec")))
= { 10, 11, 12 };