0
Fork 0
mirror of https://codeberg.org/ziglang/zig synced 2026-11-18 07:05:05 +00:00

Coff: handle COMDAT sections and weak externals

- Rework object loading to handle COMDAT sections
- Add better error output for multiple definitions
- Track all symbols associated with input sections in a flat array
- Resolve weak externals to their alias if nothing defines the weak symbol
- Fixup incorrect signs of reloc addends in the logic that saves / restores them
This commit is contained in:
kcbanner 2026-06-05 01:55:34 -04:00
commit 6ff2b9b913
2 changed files with 752 additions and 335 deletions