summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authorSzabolcs Nagy <nsz@port70.net>2019-09-29 12:25:39 +0000
committerRich Felker <dalias@aerifal.cx>2019-09-29 17:59:30 -0400
commit33bc7f05fc856d8819083afe4668907a9d262e4c (patch)
tree78d6d2efbfc9f5bab6fd748befd9961daebc89cc /src/internal
parentca577951138127dcf4190a2eb3c7148b2ad6d779 (diff)
downloadmusl-33bc7f05fc856d8819083afe4668907a9d262e4c.tar.gz
remove remaining traces of __tls_get_new
Some declarations of __tls_get_new were left in the code, even though the definition got removed in commit 9d44b6460ab603487dab4d916342d9ba4467e6b9 install dynamic tls synchronously at dlopen, streamline access this can make the build fail with ld: lib/libc.so: hidden symbol `__tls_get_new' isn't defined when libc.so is linked without --gc-sections, because a .hidden declaration in asm code creates a reference even if the symbol is not actually used.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/pthread_impl.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h
index 9b001421..5742dfc5 100644
--- a/src/internal/pthread_impl.h
+++ b/src/internal/pthread_impl.h
@@ -125,7 +125,6 @@ struct __timer {
0x80000000 })
void *__tls_get_addr(tls_mod_off_t *);
-hidden void *__tls_get_new(tls_mod_off_t *);
hidden int __init_tp(void *);
hidden void *__copy_tls(unsigned char *);
hidden void __reset_tls();