diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2023-03-28 10:40:19 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2023-03-28 13:28:48 +0200 |
| commit | fb3345e346d26cfac01e45e3662385c587ec3462 (patch) | |
| tree | 7e1d14e03b444e44ca163c7cb52f8426e66c01cc /src/link/Coff/ImportTable.zig | |
| parent | 2a5c4ea8f08d212b10d4dc8748fbaf5beddecbb6 (diff) | |
| download | zig-fb3345e346d26cfac01e45e3662385c587ec3462.tar.gz zig-fb3345e346d26cfac01e45e3662385c587ec3462.zip | |
coff: do not use atoms for synthetic import address table
Instead, introduce a custom ImportTable structure which will
act as a thunk in the MachO linker, and we will use that to
calculate the address of a pointer on-the-fly.
Additionally, fix logic in writeImportTables to allow for multiple
DLLs.
Diffstat (limited to 'src/link/Coff/ImportTable.zig')
0 files changed, 0 insertions, 0 deletions
