# macho: when adding extern fn, check if already resolved · gitcafe/zig

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

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

Visibility: public

Requested revision: 25416d8121d14ec6a2a94943cfa4e2fb944e215b

Requested commit: 25416d8121d14ec6a2a94943cfa4e2fb944e215b

Commit: 25416d8121d14ec6a2a94943cfa4e2fb944e215b

Tree: b257177adba5bf20807c6f687e96d2da91bcdf82

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
macho: when adding extern fn, check if already resolved

This way, we will generate valid relocation info in the codegen.

```

## Parents

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

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