blob: 56018c4ffd0244b702ad343eb5a48e78f1c6e01e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#include "pthread_impl.h"
void *__tls_get_addr(tls_mod_off_t *v)
{
pthread_t self = __pthread_self();
return (void *)(self->dtv[v[0]] + v[1]);
}
#ifdef TEST
int
main(void) {
return 0;
}
#endif
|