* elf/rtld.c (dl_main): Add cast in last change.
[glibc.git] / elf / tst-tlsmod13.c
blobbeca89f6fec753d4f972bb42b8d10f97e772006a
1 #include <tls.h>
3 #if defined USE_TLS && defined HAVE___THREAD \
4 && defined HAVE_TLS_MODEL_ATTRIBUTE
5 __thread int a[2] __attribute__ ((tls_model ("initial-exec")));
6 #else
7 int a[2];
8 #endif
10 int
11 foo (void)
13 return a[0];