# wasm-linker: basic TLS support · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/b0024c48841b78a962918cd4ab20459ba6451050)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: b0024c48841b78a962918cd4ab20459ba6451050

Requested commit: b0024c48841b78a962918cd4ab20459ba6451050

Commit: b0024c48841b78a962918cd4ab20459ba6451050

Tree: 55a213e4ee740d77306ae1c4ac769bb6f1a586c9

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: basic TLS support

Linker now parses segments with regards to TLS segments. If the name
represents a TLS segment but does not contain the TLS flag, we set it
manually as the object file is created using an older compiler (LLVM).

For now we panic when we find a TLS relocation and implement those
later.

```

## Parents

- [49d37e2d179948f526f500043c6ea9ae324e9476](https://git.cafe/gitcafe/zig/commit/49d37e2d179948f526f500043c6ea9ae324e9476?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/b0024c48841b78a962918cd4ab20459ba6451050?format=markdown)
