# coff: fix contents of IAT, and ensure codegen loads addr into reg · gitcafe/zig

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

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

Visibility: public

Requested revision: aac4c1d3b225ff4cd7138d9aae599c9540c7f04e

Requested commit: aac4c1d3b225ff4cd7138d9aae599c9540c7f04e

Commit: aac4c1d3b225ff4cd7138d9aae599c9540c7f04e

Tree: 69930c62692421f54d7e3587ceaf12370bf6ca16

Author: Jakub Konka

Committer: Jakub Konka

## Message

```
coff: fix contents of IAT, and ensure codegen loads addr into reg

As far as I can see, unlike with MachO, we don't have any stubs
helper routines available and need to load a bound pointer into
a register to then call it.

```

## Parents

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

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