# Plan 9 linker: don't try to calculate the vaddr before we know it · gitcafe/zig

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

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

Visibility: public

Requested revision: 4d711e8edd1234e727ba7e801b71090dc885249e

Requested commit: 4d711e8edd1234e727ba7e801b71090dc885249e

Commit: 4d711e8edd1234e727ba7e801b71090dc885249e

Tree: 3c687750c2908c7655160e2daa9d9eb1f46edc57

Author: Jacob G-W

Committer: Jacob G-W

## Message

```
Plan 9 linker: don't try to calculate the vaddr before we know it

Previously, this worked on small codebases, but it is not correct.
Unconditionally emitting a reloc fixes it (and it might be more performant).

```

## Parents

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

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