mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
macho: set first and last atom indexes to 0 when marking section for pruning
This commit is contained in:
@@ -465,8 +465,8 @@ fn prune(zld: *Zld, alive: AtomTable) void {
|
||||
section.last_atom_index = prev_index;
|
||||
} else {
|
||||
assert(section.header.size == 0);
|
||||
section.first_atom_index = undefined;
|
||||
section.last_atom_index = undefined;
|
||||
section.first_atom_index = 0;
|
||||
section.last_atom_index = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user