RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | List of all members
COFF::COFFFormat::FlexOSAOutHeader Class Reference

Concurrent DOS 68K/FlexOS 386 optional header Concurrent DOS 68K uses the typical a.out header with two additional fields for the offset to relocations and the size of the stack. More...

#include <coff.h>

Inheritance diagram for COFF::COFFFormat::FlexOSAOutHeader:
COFF::COFFFormat::AOutHeader COFF::COFFFormat::OptionalHeader

Public Member Functions

uint32_t GetSize () override
 Returns size of optional header.
 
void ReadFile (Linker::Reader &rd) override
 
void WriteFile (Linker::Writer &wr) override
 
void PostReadFile (COFFFormat &coff, Linker::Reader &rd) override
 Retrieves any additional data from the file corresponding to this type of optional header.
 
void PostWriteFile (COFFFormat &coff, Linker::Writer &wr) override
 Stores any additional data in the file corresponding to this type of optional header.
 
- Public Member Functions inherited from COFF::COFFFormat::AOutHeader
 AOutHeader (uint16_t magic=0)
 
void Dump (COFFFormat &coff, Dumper::Dumper &dump) override
 

Public Attributes

uint32_t relocations_offset = 0
 The offset to the crunched relocation data within the file.
 
uint32_t stack_size = 0
 Size of stack for execution.
 
- Public Attributes inherited from COFF::COFFFormat::AOutHeader
uint16_t magic = 0
 Type of executable, most typically ZMAGIC (COFF name: magic)
 
uint16_t version_stamp = 0
 unused (COFF name: vstamp)
 
uint32_t code_size = 0
 unused (COFF name: tsize)
 
uint32_t data_size = 0
 unused (COFF name: dsize)
 
uint32_t bss_size = 0
 unused (COFF name: bsize)
 
uint32_t entry_address = 0
 Initial value of eip (COFF name: entry)
 
uint32_t code_address = 0
 unused (COFF name: text_start)
 
uint32_t data_address = 0
 unused (COFF name: data_start)
 

Protected Member Functions

void DumpFields (COFFFormat &coff, Dumper::Dumper &dump, Dumper::Region &header_region) override
 

Detailed Description

Concurrent DOS 68K/FlexOS 386 optional header Concurrent DOS 68K uses the typical a.out header with two additional fields for the offset to relocations and the size of the stack.

Member Function Documentation

◆ DumpFields()

void COFFFormat::FlexOSAOutHeader::DumpFields ( COFFFormat & coff,
Dumper::Dumper & dump,
Dumper::Region & header_region )
overrideprotectedvirtual

Reimplemented from COFF::COFFFormat::AOutHeader.

◆ GetSize()

uint32_t COFFFormat::FlexOSAOutHeader::GetSize ( )
overridevirtual

Returns size of optional header.

Reimplemented from COFF::COFFFormat::AOutHeader.

◆ PostReadFile()

void COFFFormat::FlexOSAOutHeader::PostReadFile ( COFFFormat & coff,
Linker::Reader & rd )
overridevirtual

Retrieves any additional data from the file corresponding to this type of optional header.

Reimplemented from COFF::COFFFormat::OptionalHeader.

◆ PostWriteFile()

void COFFFormat::FlexOSAOutHeader::PostWriteFile ( COFFFormat & coff,
Linker::Writer & wr )
overridevirtual

Stores any additional data in the file corresponding to this type of optional header.

Reimplemented from COFF::COFFFormat::OptionalHeader.

◆ ReadFile()

void COFFFormat::FlexOSAOutHeader::ReadFile ( Linker::Reader & rd)
overridevirtual

Reimplemented from COFF::COFFFormat::AOutHeader.

◆ WriteFile()

void COFFFormat::FlexOSAOutHeader::WriteFile ( Linker::Writer & wr)
overridevirtual

Reimplemented from COFF::COFFFormat::AOutHeader.


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