• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Revisione80384786d7b7f895c97f2447d4b91af8eb5f0f4 (tree)
Time2020-09-02 16:45:17
AuthorWaldemar Brodkorb <wbx@open...>
CommiterWaldemar Brodkorb

Log Message

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.

Change Summary

Incremental Difference

--- a/libc/misc/elf/dl-support.c
+++ b/libc/misc/elf/dl-support.c
@@ -29,7 +29,7 @@ void (*_dl_init_static_tls) (struct link_map *) = &_dl_nothread_init_static_tls;
2929
3030 ElfW(Phdr) *_dl_phdr;
3131 size_t _dl_phnum;
32-extern size_t _dl_pagesize;
32+size_t _dl_pagesize;
3333
3434 void internal_function _dl_aux_init (ElfW(auxv_t) *av);
3535 void internal_function _dl_aux_init (ElfW(auxv_t) *av)
--- 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;
7272 /* Number of modules in the static TLS block. */
7373 size_t _dl_tls_static_nelem;
7474 /* Size of the static TLS block. */
75-extern size_t _dl_tls_static_size;
75+size_t _dl_tls_static_size;
7676 /* Size actually allocated in the static TLS block. */
7777 size_t _dl_tls_static_used;
7878 /* Alignment requirement of the static TLS block. */