mirror of
https://codeberg.org/ziglang/zig
synced 2026-11-18 07:05:05 +00:00
macho: assign and cache section ordinals upon creation
then, when sorting sections within segments, clear and redo the ordinals since we re-apply them to symbols anyway. It is vital to have the ordinals consistent with parsing and resolving relocs however.
This commit is contained in:
parent
4fd0cb7618
commit
a4feb97cdf
3 changed files with 88 additions and 39 deletions
Loading…
Add table
Add a link
Reference in a new issue