[BZ #2510, BZ #2830, BZ #3137, BZ #3313, BZ #3426, BZ #3465, BZ #3480, BZ #3483,...
[glibc.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];