ubuntu-buildroot/output/build/glibc-2.36-81-g4f4d7a13edfd.../elf/tst-tlsmod13a.c

10 lines
132 B
C

__thread int b[2] __attribute__ ((tls_model ("initial-exec")));
extern int foo (void);
int
bar (void)
{
return foo () + b[0];
}