# macho: link atom starting section by orig section id · gitcafe/zig

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

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

Visibility: public

Requested revision: 61b4119a7d5862f58fc4a34024456e3feca292a5

Requested commit: 61b4119a7d5862f58fc4a34024456e3feca292a5

Commit: 61b4119a7d5862f58fc4a34024456e3feca292a5

Tree: 2a092db743c902df7e746bc99f2dde18621af70e

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: link atom starting section by orig section id

In x86_64 relocs, it can so happen that the compiler
refers to the same atom by both the actual assigned symbol
and the start of the section. In this case, we need to
link the two together so add an alias.

```

## Parents

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

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