glibc/elf/tst-tlsmod13a.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

12 lines
150 B
C

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