Add .cantunwind to _dl_start_user
[platform/upstream/glibc.git] / elf / tst-tlsmod7.c
index 18f3bef..3df7907 100644 (file)
@@ -1,7 +1,6 @@
 #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 a2 = { 7, 8, 9 };
 __thread struct A a3 __attribute__((tls_model("initial-exec")))
@@ -100,4 +99,3 @@ f6b (void)
 {
   return local2.c;
 }
-#endif