glibc/elf/tst-tlsmod16b.c
Ulrich Drepper 3ce1f29594 Cleanup of configuration options
Make several tool features mandatory and simplify the code.
2011-09-10 14:34:15 -04:00

10 lines
133 B
C

#include <tls.h>
extern __thread int tlsvar __attribute__((tls_model("initial-exec")));
void *
in_dso (void)
{
return &tlsvar;
}