# wasm-linker: Fix relocations for alias'd atoms · gitcafe/zig

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

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

Visibility: public

Requested revision: dd850929822abb7f81a0c4fdfa97ecf37d4bc16c

Requested commit: dd850929822abb7f81a0c4fdfa97ecf37d4bc16c

Commit: dd850929822abb7f81a0c4fdfa97ecf37d4bc16c

Tree: 805ac327e4864f151b348cd162dc784906c1aa8d

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm-linker: Fix relocations for alias'd atoms

When an atom has one or multiple aliasses, we we could not find the
target atom from the alias'd symbol. This is solved by ensuring that
we also insert each alias symbol in the symbol-atom map.

```

## Parents

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

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