# macho: correctly lower slices incl reloc and rebase tracking · gitcafe/zig

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

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

Visibility: public

Requested revision: 066758b1a296aa6f01d505f7b90d5aee2f387d30

Requested commit: 066758b1a296aa6f01d505f7b90d5aee2f387d30

Commit: 066758b1a296aa6f01d505f7b90d5aee2f387d30

Tree: 50c15027ca05182f8f47e55d2891d9b9d318db66

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: correctly lower slices incl reloc and rebase tracking

Match changes required to `Elf` linker, which enable lowering
of const slices on `MachO` targets.

Expand `Mir` instructions requiring the knowledge of the containing
atom - pass the symbol index into the linker's table from codegen
via mir to emitter, to then utilise it in the linker.

```

## Parents

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

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