diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-06-25 18:36:56 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-06-25 18:36:56 +0200 |
| commit | 140bac6395610a3b9e5d5f92e2b366a27f6dcdc8 (patch) | |
| tree | 6ff6d50d21b32c04d47821b1c0695ce548c46704 /src/stage1/zig0.cpp | |
| parent | e32a5ba78b5e42788cba57720ce88cbfd30d434b (diff) | |
| download | zig-140bac6395610a3b9e5d5f92e2b366a27f6dcdc8.tar.gz zig-140bac6395610a3b9e5d5f92e2b366a27f6dcdc8.zip | |
link/wasm: Sort data segments
We now ensure the "bss" section is last, which allows us to not
emit this section and let the runtime initialize the memory with 0's instead.
This allows for smaller binaries.
The order of the other segments is arbitrary and does not matter, this may
change in the future.
Diffstat (limited to 'src/stage1/zig0.cpp')
0 files changed, 0 insertions, 0 deletions
