about summary refs log tree commit diff
path: root/elf/tst-tls19mod2.c
blob: cae702f67c334ea881bfd55915882ba391909f8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
static int __thread tbar __attribute__ ((tls_model ("initial-exec"))) = 666;

void
setter (int a)
{
  tbar = a;
}

int
bar (void)
{
  return tbar;
}