glibc/elf/tst-tlsmod13.c
Ulrich Drepper 3ce1f29594 Cleanup of configuration options
Make several tool features mandatory and simplify the code.
2011-09-10 14:34:15 -04:00

10 lines
117 B
C

#include <tls.h>
__thread int a[2] __attribute__ ((tls_model ("initial-exec")));
int
foo (void)
{
return a[0];
}