1570af302Sopenharmony_ci#include "pthread_impl.h" 2570af302Sopenharmony_ci 3570af302Sopenharmony_civoid *__tls_get_addr(tls_mod_off_t *v) 4570af302Sopenharmony_ci{ 5570af302Sopenharmony_ci pthread_t self = __pthread_self(); 6570af302Sopenharmony_ci return (void *)(self->dtv[v[0]] + v[1]); 7570af302Sopenharmony_ci} 8