diff options
author | Szabolcs Nagy <nsz@port70.net> | 2019-09-29 12:25:39 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2019-09-29 17:59:30 -0400 |
commit | 33bc7f05fc856d8819083afe4668907a9d262e4c (patch) | |
tree | 78d6d2efbfc9f5bab6fd748befd9961daebc89cc /src/ldso/arm | |
parent | ca577951138127dcf4190a2eb3c7148b2ad6d779 (diff) | |
download | musl-33bc7f05fc856d8819083afe4668907a9d262e4c.tar.gz musl-33bc7f05fc856d8819083afe4668907a9d262e4c.tar.xz musl-33bc7f05fc856d8819083afe4668907a9d262e4c.zip |
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/ldso/arm')
-rw-r--r-- | src/ldso/arm/tlsdesc.S | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ldso/arm/tlsdesc.S b/src/ldso/arm/tlsdesc.S index 2bb75a1b..3ae133c9 100644 --- a/src/ldso/arm/tlsdesc.S +++ b/src/ldso/arm/tlsdesc.S @@ -8,8 +8,6 @@ __tlsdesc_static: ldr r0,[r0] bx lr -.hidden __tls_get_new - .global __tlsdesc_dynamic .hidden __tlsdesc_dynamic .type __tlsdesc_dynamic,%function |