RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
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>
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 |
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.
|
overrideprotectedvirtual |
Reimplemented from COFF::COFFFormat::AOutHeader.
|
overridevirtual |
Returns size of optional header.
Reimplemented from COFF::COFFFormat::AOutHeader.
|
overridevirtual |
Retrieves any additional data from the file corresponding to this type of optional header.
Reimplemented from COFF::COFFFormat::OptionalHeader.
|
overridevirtual |
Stores any additional data in the file corresponding to this type of optional header.
Reimplemented from COFF::COFFFormat::OptionalHeader.
|
overridevirtual |
Reimplemented from COFF::COFFFormat::AOutHeader.
|
overridevirtual |
Reimplemented from COFF::COFFFormat::AOutHeader.