1__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
2
3int
4foo (void)
5{
6 return a[0];
7}
8

source code of glibc/elf/tst-tlsmod13.c