refactor radlink section gathering

Fold section definition and contributions collection into a worker-count
task with barriers around the serial merge. Share section filtering
between both phases and keep zero-size COMDATs so offset-zero symbols
still map to a section.
This commit is contained in:
Nikita Smith authored and Ryan Fleury committed 2026-07-27 14:47:15 -07:00
1 parent b77c958b5f
commit d790412219
3 files changed
+166 -138

No files matched your search

+1
View File
@@ -162,6 +162,7 @@ enum
};
#define COFF_SectionFlags_ExtractAlign(f) (COFF_SectionAlign)(((f) >> COFF_SectionFlag_AlignShift) & COFF_SectionFlag_AlignMask)
#define COFF_SectionFlags_LnkFlags ((COFF_SectionFlag_AlignMask << COFF_SectionFlag_AlignShift) | COFF_SectionFlag_LnkCOMDAT | COFF_SectionFlag_LnkInfo | COFF_SectionFlag_LnkOther | COFF_SectionFlag_LnkRemove | COFF_SectionFlag_LnkNRelocOvfl)
#define COFF_SectionFlags_Reserved 3
typedef struct COFF_SectionHeader COFF_SectionHeader;
struct COFF_SectionHeader