handle linker directives in a separate step after obj is initialized,

this way we don't need to store directives in obj struct
This commit is contained in:
Nikita Smith
2025-06-25 10:53:21 -07:00
committed by Ryan Fleury
parent 307d3a7f4b
commit 55c76db902
8 changed files with 385 additions and 469 deletions
-4
View File
@@ -62,10 +62,6 @@ typedef struct LNK_Obj
LNK_RelocList *sect_reloc_list_arr;
LNK_ChunkPtr *chunk_arr;
LNK_SymbolList symbol_list;
LNK_DirectiveInfo directive_info;
LNK_ExportParseList export_parse;
String8List include_symbol_list;
LNK_AltNameList alt_name_list;
} LNK_Obj;
typedef struct LNK_ObjNode