# macho: fix reloc generation for stubs and GOT entries · gitcafe/zig

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

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

Visibility: public

Requested revision: e05b1e0e07708ca16c1a90e51a668faf51d883f4

Requested commit: e05b1e0e07708ca16c1a90e51a668faf51d883f4

Commit: e05b1e0e07708ca16c1a90e51a668faf51d883f4

Tree: dd82931a6fe2b3095c174c260a1e0e589e6ef967

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: fix reloc generation for stubs and GOT entries

The current approach is somewhat hacky, however, works well for
one-off self-hosted linking.

```

## Parents

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

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