aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod8.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2003-04-23 01:54:52 +0000
committerRoland McGrath <roland@gnu.org>2003-04-23 01:54:52 +0000
commit63af556fef739fcd22deb496bab756b96a239b14 (patch)
tree864af7746fe090f3411b653400d661e92c5fccdf /elf/tst-tlsmod8.c
parentf478103ff0ab69829f32537947024269296cff17 (diff)
downloadglibc-63af556fef739fcd22deb496bab756b96a239b14.tar
glibc-63af556fef739fcd22deb496bab756b96a239b14.tar.gz
glibc-63af556fef739fcd22deb496bab756b96a239b14.tar.bz2
glibc-63af556fef739fcd22deb496bab756b96a239b14.zip
* 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 <roland@redhat.com> * 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.
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 };