about summary refs log tree commit diff
path: root/elf/tst-tlsmod13a.c
blob: ca4eaccbff1179947735a95d1a22267432d5f4ac (plain) (blame)
1
2
3
4
5
6
7
8
9
__thread int b[2] __attribute__ ((tls_model ("initial-exec")));

extern int foo (void);

int
bar (void)
{
  return foo () + b[0];
}