# stage2: set up a trampoline table for functions · gitcafe/zig

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

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

Visibility: public

Requested revision: 8d812dba30fe3c17e9d64607fdf813977eaf0496

Requested commit: 8d812dba30fe3c17e9d64607fdf813977eaf0496

Commit: 8d812dba30fe3c17e9d64607fdf813977eaf0496

Tree: 84dba7aad60ad2472da927d65ffffa7090386a6d

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
stage2: set up a trampoline table for functions

However there does not appear to be an x86 encoding for calling an
immediate address. So there's no point of setting this up. We should
just emit an indirect call to the got addr.

```

## Parents

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

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