Feature
Support TLS data objects with COFF binaries.
Benefit
TLS data objects are already supported for ELF and Mach-O binaries.
Implementation
Add a new x86_coff_tls_get_addr instruction. See https://github.com/bjorn3/rustc_codegen_cranelift/issues/388#issuecomment-532930282 for what x86_64 instructions to lower the x86_coff_tls_get_addr instruction to. Then make changes to the object crate as necessary to generate TLS sections for COFF.
Alternatives
N/A
Feature
Support TLS data objects with COFF binaries.
Benefit
TLS data objects are already supported for ELF and Mach-O binaries.
Implementation
Add a new
x86_coff_tls_get_addrinstruction. See https://github.com/bjorn3/rustc_codegen_cranelift/issues/388#issuecomment-532930282 for what x86_64 instructions to lower thex86_coff_tls_get_addrinstruction to. Then make changes to theobjectcrate as necessary to generate TLS sections for COFF.Alternatives
N/A