# macho: use the cache system to know if need to relink objects · gitcafe/zig

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

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

Visibility: public

Requested revision: 760241ce50eaa9031339f6b591358b53f5797486

Requested commit: 760241ce50eaa9031339f6b591358b53f5797486

Commit: 760241ce50eaa9031339f6b591358b53f5797486

Tree: 713b4ad62085eba2c29390d8003866f3290e16ce

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: use the cache system to know if need to relink objects

This applies to stage2 where we make use of the cache system to work
out if we need to relink objects when performing incremental updates.
When the process is restarted however, while in principle the idea is
to carry on where we left off by reparsing the prelinked binary from
file, the required machinery is not there yet, and therefore we always
fully relink upon restart.

```

## Parents

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

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