https://issues.dlang.org/show_bug.cgi?id=9476
Kevin L <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #10 from Kevin L <[email protected]> --- Rather than remove it, could the existing non-native OSX TLS model be made available via compile command-line argument for all platforms? Something like "-non-native-tls"? I am writing a bare-metal kernel (https://github.com/klamonte/cycle) in D (2.066.1-rc2) and am working on TLS support. It is made more difficult by compiling on Linux DMD with the much more complex sections_linux.d DSO model. I have gotten ModuleInfo to work without too much hassle using a small bit of linker script: .minfo : { start_minfo = . ; KEEP (*(SORT_NONE(.minfo))) end_minfo = . ; } (This BTW continues to work with --gc-sections.) I'd really like to be able to do similar for TLS, basically do the method described in the Dr Dobbs article for OSX TLS support but on my Linux system. I'll also need TLS in order for exceptions to work later on. --
