# x86_64: add distinct MCValue representing symbol index in the linker · gitcafe/zig

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

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

Visibility: public

Requested revision: f132f426b9a11774323eafc669da0c9731deb85b

Requested commit: f132f426b9a11774323eafc669da0c9731deb85b

Commit: f132f426b9a11774323eafc669da0c9731deb85b

Tree: 7c00096b199fc33087c0c0bfbda0d684cf38c30b

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
x86_64: add distinct MCValue representing symbol index in the linker

For PIE targets, we defer getting an address of value until the linker
has allocated all atoms and performed the relocations. In codegen,
we represent this via `MCValue.linker_sym_index` value.

```

## Parents

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

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