diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-09-09 00:01:20 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-09-09 00:01:22 +0200 |
| commit | 8378cde74369ddb1cc618d444970e963a4ab1110 (patch) | |
| tree | 62bec6ea56c64a96c13ba304d35320b80184d013 /src/windows_sdk.cpp | |
| parent | 0ae2ea671b867e5ecd0bc779405c175f33316559 (diff) | |
| download | zig-8378cde74369ddb1cc618d444970e963a4ab1110.tar.gz zig-8378cde74369ddb1cc618d444970e963a4ab1110.zip | |
macho: prefill any space between __DATA and __LINKEDIT with 0s if required
If there are zerofill sections, the loader may copy the contents of
the physical space in file directly into memory and attach that to
the zerofill section. This is a performance optimisation in the loader
but requires us, the linker, to properly zero-out any space between
__DATA and __LINKEDIT segments in file. This is of course completely
skipped if there are no zerofill sections present.
Diffstat (limited to 'src/windows_sdk.cpp')
0 files changed, 0 insertions, 0 deletions
