mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 10:22:41 +08:00
3ce1f29594
Make several tool features mandatory and simplify the code.
10 lines
133 B
C
10 lines
133 B
C
#include <tls.h>
|
|
|
|
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
|
|
|
|
void *
|
|
in_dso (void)
|
|
{
|
|
return &tlsvar;
|
|
}
|