|
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 | |
| FlexOSAOutHeader (uint16_t magic=0) | |
| uint32_t | GetSize () const override |
| Returns size of optional header. | |
| void | ReadFile (Linker::Reader &rd) override |
| void | WriteFile (Linker::Writer &wr) const override |
| offset_t | CalculateValues (COFFFormat &coff) override |
| Sets up fields to be consistent. | |
| void | PostReadFile (COFFFormat &coff, Linker::Reader &rd) override |
| Retrieves any additional data from the file corresponding to this type of optional header. | |
| void | PostWriteFile (const COFFFormat &coff, Linker::Writer &wr) const 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 (const COFFFormat &coff, Dumper::Dumper &dump) const 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 |
| Version stamp (COFF name: vstamp) | |
| uint32_t | code_size = 0 |
| Code size (COFF name: tsize) | |
| uint32_t | data_size = 0 |
| Data size (COFF name: dsize) | |
| uint32_t | bss_size = 0 |
| BSS size (COFF name: bsize) | |
| uint32_t | entry_address = 0 |
| Initial value of eip (COFF name: entry) | |
| uint32_t | code_address = 0 |
| Address of code (COFF name: text_start) | |
| uint32_t | data_address = 0 |
| Address of data (COFF name: data_start) | |
Protected Member Functions | |
| void | DumpFields (const COFFFormat &coff, Dumper::Dumper &dump, Dumper::Region &header_region) const 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.
|
overridevirtual |
Sets up fields to be consistent.
Reimplemented from COFF::COFFFormat::AOutHeader.
|
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.