Revision | e80384786d7b7f895c97f2447d4b91af8eb5f0f4 (tree) |
---|---|
Time | 2020-09-02 16:45:17 |
Author | Waldemar Brodkorb <wbx@open...> |
Commiter | Waldemar Brodkorb |
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.
@@ -29,7 +29,7 @@ void (*_dl_init_static_tls) (struct link_map *) = &_dl_nothread_init_static_tls; | ||
29 | 29 | |
30 | 30 | ElfW(Phdr) *_dl_phdr; |
31 | 31 | size_t _dl_phnum; |
32 | -extern size_t _dl_pagesize; | |
32 | +size_t _dl_pagesize; | |
33 | 33 | |
34 | 34 | void internal_function _dl_aux_init (ElfW(auxv_t) *av); |
35 | 35 | void internal_function _dl_aux_init (ElfW(auxv_t) *av) |
@@ -72,7 +72,7 @@ struct dtv_slotinfo_list *_dl_tls_dtv_slotinfo_list; | ||
72 | 72 | /* Number of modules in the static TLS block. */ |
73 | 73 | size_t _dl_tls_static_nelem; |
74 | 74 | /* Size of the static TLS block. */ |
75 | -extern size_t _dl_tls_static_size; | |
75 | +size_t _dl_tls_static_size; | |
76 | 76 | /* Size actually allocated in the static TLS block. */ |
77 | 77 | size_t _dl_tls_static_used; |
78 | 78 | /* Alignment requirement of the static TLS block. */ |