D: Implement GCC emutls in druntime

Programming / Compilers / GCC - jpfau [138bc75d-0d04-0410-961f-82ee72b054a4] - 25 April 2019 11:11 EDT

- libdruntime/Makefile.am: Add emutls and gthread files.
- libdruntime/Makefile.in: Regenerate.
- libdruntime/gcc/emutls.d: New file. Implement GC-compatible emutls.
- libdruntime/gcc/gthread.d: New file.
- libdruntime/gcc/sections/elf_shared.d: Integrate emutls support.
- testsuite/libphobos.allocations/tls_gc_integration.d: New test for TLS.

e97a87f60be D: Implement GCC emutls in druntime
libphobos/ChangeLog | 9 +
libphobos/libdruntime/Makefile.am | 3 +-
libphobos/libdruntime/Makefile.in | 13 +-
libphobos/libdruntime/gcc/emutls.d | 316 +++++++++++++++++++++
libphobos/libdruntime/gcc/gthread.d | 127 +++++++++
libphobos/libdruntime/gcc/sections/elf_shared.d | 89 ++++--
.../libphobos.allocations/tls_gc_integration.d | 50 ++++
7 files changed, 570 insertions(+), 37 deletions(-)

Upstream: gcc.gnu.org


  • Share