diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-09 23:45:50 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-10 08:12:02 +0100 |
| commit | 57357c43e3b56fd636cd08af591c50a08223b654 (patch) | |
| tree | 5bb2099de0368f3ef2a67cc8ee0226d6e2d2218f /src/codegen.zig | |
| parent | 65c812842dfb0db9a4c6f5af04719ebf18f2d169 (diff) | |
| download | zig-57357c43e3b56fd636cd08af591c50a08223b654.tar.gz zig-57357c43e3b56fd636cd08af591c50a08223b654.zip | |
elf: pad out file to the required size when init data
We need to pad out the file to the required maximum size equal the
final section's offset plus the section's size. We only need to
this when populating initial metadata and only when section header
was updated.
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
