aboutsummaryrefslogtreecommitdiff
path: root/elf/tst-tlsmod16b.c
blob: 7268c56bcb6195c49405b3446be03218cd08e476 (plain)
1
2
3
4
5
6
7
8
9
#include <tls.h>

extern __thread int tlsvar __attribute__((tls_model("initial-exec")));

void *
in_dso (void)
{
  return &tlsvar;
}