# wasm-linker: Resolve relocations · gitcafe/zig

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

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

Visibility: public

Requested revision: a54ac0888542d027b09e5c43729a7cfbe4a51393

Requested commit: a54ac0888542d027b09e5c43729a7cfbe4a51393

Commit: a54ac0888542d027b09e5c43729a7cfbe4a51393

Tree: 432385a06a91e71f022e674a5d51f53c1974be9d

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Resolve relocations

We now resolve relocations for globals, memory addresses and function indexes.
Besides above, we now also emit imported functions correctly and create a
corresponding undefined symbol for it, where as we create a defined symbol
for all other cases.

TODO: Make incrememental compilation work again with new linker infrastructure

```

## Parents

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

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