# macho: fix noninclusion of data-in-code · gitcafe/zig

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

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

Visibility: public

Requested revision: 5e64d9745ba54d4dd61f8f98be4a3b7e6f2d8205

Requested commit: 5e64d9745ba54d4dd61f8f98be4a3b7e6f2d8205

Commit: 5e64d9745ba54d4dd61f8f98be4a3b7e6f2d8205

Tree: 0137249076a56a111388acb8f3f46abfee013918

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: fix noninclusion of data-in-code

Also, calculate non-extern, section offset based addends for SIGNED
and UNSIGNED relocations on x86_64 upfront as an offset wrt to the
target symbol representing position of the section/atom within the
final artifact.

```

## Parents

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

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