add tls_init_dlopen test and fix tls_align_dlopen.mk so it is run properly
[libc-test] / src / functional / tls_init_dso.c
1 static char buf[] = "foobar";
2 __thread char *tls = buf;
3
4 char *gettls()
5 {
6         return tls;
7 }
8