4 #include "pthread_impl.h"
7 extern struct tls_image {
9 size_t len, size, align;
10 } __static_tls ATTR_LIBC_VISIBILITY;
12 #define T __static_tls
17 pthread_t self = __pthread_self();
18 memcpy(self->dtv[1], T.image, T.len);
19 memset((char *)self->dtv[1]+T.len, 0, T.size-T.len);