Updated to fedora-glibc-20090409T1422
[glibc/history.git] / elf / tst-tlsmod13.c
blobe4e23af2d851aa038924969e907eabea5d427d33
1 #include <tls.h>
3 #if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
4 __thread int a[2] __attribute__ ((tls_model ("initial-exec")));
5 #else
6 int a[2];
7 #endif
9 int
10 foo (void)
12 return a[0];