0
Fork 0
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:
Jakub Konka 2021-07-22 22:19:15 +02:00
commit a4feb97cdf
3 changed files with 88 additions and 39 deletions