fix inconsistent visibility for internal __tls_get_new function
[oweals/musl.git] / src / ldso / dynlink.c
index 46183ce7bafee2a45f84a0c80eccdc9b65c70708..0151f74d248d2eb8ecfbda4ff6b74b57aee845b1 100644 (file)
@@ -1051,6 +1051,7 @@ void *__copy_tls(unsigned char *mem)
        return td;
 }
 
+__attribute__((__visibility__("hidden")))
 void *__tls_get_new(size_t *v)
 {
        pthread_t self = __pthread_self();