[Issue 23310] Segfault on switch with global enum

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Aug 30 14:16:28 UTC 2022


https://issues.dlang.org/show_bug.cgi?id=23310

--- Comment #12 from anonymous4 <dfj1esp02 at sneakemail.com> ---
For gnu toolchain (as, ld) TLS directory looks like this:
--- tlssup.asm ---
.intel_syntax
.arch generic64,nojumps

.global _tls_used
.section .rdata
_tls_used:
        .quad ___tls_start__, ___tls_end__, _tls_index, _tls_callbacks
_tls_callbacks:
        .quad 0

.global _tls_index
.bss
        .balign 4
_tls_index:
        .int 0
---
Compile: as tlssup.asm -o tlssup.obj

--


More information about the Digitalmars-d-bugs mailing list