- WORD scattr; // Section attributes
- LONG sloc; // Current loc-in / size-of section
- CHUNK * sfcode; // First chunk in section
- CHUNK * scode; // Last chunk in section
- CHUNK * sffix; // First fixup chunk
- CHUNK * sfix; // Last fixup chunk
-};
-
-// A mark is of the form:
-// .W <to+flags> section mark is relative to, and flags in upper byte
-// .L <loc> location of mark in "from" section
-// .W [from] new from section
-// .L [symbol] symbol involved in external reference
-#define MCHUNK struct _mchunk
-MCHUNK {
- MCHUNK * mcnext; // Next mark chunk
- PTR mcptr; // Vector of marks
- LONG mcalloc; // # marks allocted to mark block
- LONG mcused; // # marks used in block
+ uint16_t scattr; // Section attributes
+ uint32_t sloc; // Current loc-in / size-of section
+ uint32_t relocs; // # of relocations for this section
+ CHUNK * sfcode; // First chunk in section
+ CHUNK * scode; // Last chunk in section
+ CHUNK * sffix; // First fixup chunk
+ CHUNK * sfix; // Last fixup chunk