aboutsummaryrefslogtreecommitdiff
blob: 1ecba26dbedcb23e087cd637934e9e1aadff6760 (plain)
1
2
3
4
5
6
7
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));

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