blob: 7275195485cd86d42253d9b5ed09fabfe7da97da (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#if defined HAVE___THREAD && defined HAVE_TLS_MODEL_ATTRIBUTE
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
#else
extern int tlsvar;
#endif
void *
in_dso (void)
{
return &tlsvar;
}
|