mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-04 21:08:40 +00:00
simplify section table
This commit is contained in:
committed by
Ryan Fleury
parent
ecdee57c60
commit
9d93eda3ed
@@ -14,12 +14,32 @@ typedef struct LNK_LinkContext
|
||||
LNK_LibList lib_index[LNK_InputSource_Count];
|
||||
} LNK_LinkContext;
|
||||
|
||||
// -- Image --------------------------------------------------------------------
|
||||
|
||||
typedef struct LNK_ImageContext
|
||||
{
|
||||
String8 image_data;
|
||||
LNK_SectionTable *sectab;
|
||||
} LNK_ImageContext;
|
||||
|
||||
typedef struct LNK_SectionDefinition
|
||||
{
|
||||
String8 name;
|
||||
COFF_SectionFlags flags;
|
||||
U64 contribs_count;
|
||||
struct LNK_Obj *obj;
|
||||
U64 obj_sect_idx;
|
||||
} LNK_SectionDefinition;
|
||||
|
||||
typedef struct LNK_CommonBlockContrib
|
||||
{
|
||||
struct LNK_Symbol *symbol;
|
||||
union {
|
||||
U32 size;
|
||||
U32 offset;
|
||||
} u;
|
||||
} LNK_CommonBlockContrib;
|
||||
|
||||
// --- Base Reloc --------------------------------------------------------------
|
||||
|
||||
typedef struct LNK_BaseRelocPage
|
||||
|
||||
Reference in New Issue
Block a user