mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-27 21:20:18 +00:00
18 lines
206 B
C
18 lines
206 B
C
|
#include "tst-tls10.h"
|
||
|
|
||
|
#ifdef USE_TLS__THREAD
|
||
|
__thread int mod15b_var __attribute__((tls_model("initial-exec")));
|
||
|
|
||
|
int
|
||
|
in_dso (void)
|
||
|
{
|
||
|
return mod15b_var;
|
||
|
}
|
||
|
#else
|
||
|
int
|
||
|
in_dso (void)
|
||
|
{
|
||
|
return 0;
|
||
|
}
|
||
|
#endif
|