From 63af556fef739fcd22deb496bab756b96a239b14 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 23 Apr 2003 01:54:52 +0000 Subject: * elf/tst-tls12.c (main): Fix declaration. * elf/tst-tls10.c (dummy): Make hidden instead of static. * elf/tst-tlsmod7.c (dummy): Likewise. * elf/tst-tlsmod8.c (dummy): Likewise. * elf/tst-tlsmod9.c (dummy): Likewise. 2003-04-22 Roland McGrath * sysdeps/unix/sysv/linux/not-cancel.h: Put parens around macro args. (open_not_cancel): Make last argument non-optional. * sysdeps/generic/check_fds.c (check_one_fd): Update caller. * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise. * iconv/gconv_cache.c (__gconv_load_cache): Likewise. * include/tls.h: Protect against multiple inclusion. --- elf/tst-tlsmod7.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf/tst-tlsmod7.c') diff --git a/elf/tst-tlsmod7.c b/elf/tst-tlsmod7.c index 18f3befcbb..944b97f9c0 100644 --- a/elf/tst-tlsmod7.c +++ b/elf/tst-tlsmod7.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 a2 = { 7, 8, 9 }; __thread struct A a3 __attribute__((tls_model("initial-exec"))) -- cgit v1.2.3