summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2020-09-02 09:45:17 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-09-02 09:45:17 +0200
commite80384786d7b7f895c97f2447d4b91af8eb5f0f4 (patch)
treec5f0201763ed558e4ebf8b394566cd9495aa773f /libpthread/nptl/sysdeps
parent7b504fe20cb4693db8a6c7c31303466966cb4088 (diff)
Revert "Fix static linking with GCC-10"
This reverts commit 5b58a1ebd89a4f05778441814e81817c82193fa3. This breaks all static builds earlier to gcc 10 :( Bad testing on my side.
Diffstat (limited to 'libpthread/nptl/sysdeps')
-rw-r--r--libpthread/nptl/sysdeps/generic/libc-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/generic/libc-tls.c b/libpthread/nptl/sysdeps/generic/libc-tls.c
index a1d2ef913..d746c9a38 100644
--- a/libpthread/nptl/sysdeps/generic/libc-tls.c
+++ b/libpthread/nptl/sysdeps/generic/libc-tls.c
@@ -72,7 +72,7 @@ struct dtv_slotinfo_list *_dl_tls_dtv_slotinfo_list;
/* Number of modules in the static TLS block. */
size_t _dl_tls_static_nelem;
/* Size of the static TLS block. */
-extern size_t _dl_tls_static_size;
+size_t _dl_tls_static_size;
/* Size actually allocated in the static TLS block. */
size_t _dl_tls_static_used;
/* Alignment requirement of the static TLS block. */