RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
Xenix::XOutFormat::Segment Class Reference

Public Types

enum  segment_type : uint16_t {
  Null = 0x00 , Text = 0x01 , Data = 0x02 , SymbolTable = 0x03 ,
  Relocation = 0x04 , SegmentStringTable = 0x05 , GroupDefinition = 0x06 , IteratedData = 0x40 ,
  TSS = 0x41 , LODFIX = 0x42 , DescriptorNames = 0x43 , DebugText = 0x44 ,
  DebugRelocation = 0x45 , OverlayTable = 0x46 , SymbolStringTable = 0x48
}
 

Public Member Functions

void Calculate (XOutFormat &xout)
 
void ReadContents (Linker::Reader &rd, XOutFormat &xout)
 
void WriteHeader (Linker::Writer &wr, const XOutFormat &xout) const
 
void WriteContents (Linker::Writer &wr, const XOutFormat &xout) const
 
void Dump (Dumper::Dumper &dump, const XOutFormat &xout, uint32_t index) const
 

Static Public Member Functions

static Segment ReadHeader (Linker::Reader &rd, XOutFormat &xout)
 

Public Attributes

segment_type type = Null
 
uint16_t attributes = 0
 
uint16_t number = 0
 
uint8_t log2_align = 0
 
uint8_t reserved1 = 0
 
offset_t offset = 0
 
uint32_t file_size = 0
 
uint32_t memory_size = 0
 
uint32_t base_address = 0
 
uint16_t name_offset = 0
 
uint16_t reserved2 = 0
 
uint32_t reserved3 = 0
 
std::shared_ptr< Linker::Contentscontents
 

Static Public Attributes

static constexpr uint16_t Attribute_Iterated = 0x0001
 
static constexpr uint16_t Attribute_Huge = 0x0002
 
static constexpr uint16_t Attribute_ImplicitBss = 0x0004
 
static constexpr uint16_t Attribute_Pure = 0x0008
 
static constexpr uint16_t Attribute_ExpandDown = 0x0010
 
static constexpr uint16_t Attribute_Private = 0x0020
 
static constexpr uint16_t Attribute_32Bit = 0x0040
 
static constexpr uint16_t Attribute_MemoryImage = 0x8000
 
static constexpr uint16_t Attribute_SymbolTable_Bell = 0x0000
 
static constexpr uint16_t Attribute_SymbolTable_XOut = 0x0001
 
static constexpr uint16_t Attribute_SymbolTable_IslandDebugger = 0x0002
 
static constexpr uint16_t Attribute_Relocation_XOutSegmented = 0x0001
 
static constexpr uint16_t Attribute_Relocation_8086Segmented = 0x0002
 

The documentation for this class was generated from the following files: