Stream: git-wasmtime

Topic: wasmtime / issue #1885 [Cranelift] Add COFF TLS support


view this post on Zulip Wasmtime GitHub notifications bot (Aug 22 2022 at 13:57):

afonso360 commented on issue #1885:

This was closed in #4546, forgot to mark it.

view this post on Zulip Wasmtime GitHub notifications bot (Aug 22 2022 at 14:02):

bnjbvr closed issue #1885:

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


Last updated: Nov 22 2024 at 16:03 UTC