ECOFF optional header.
More...
#include <coff.h>
|
|
uint16_t | magic = 0 |
| | Type of executable.
|
| |
|
uint16_t | version_stamp = SYM_STAMP |
| | Object file version stamp (ECOFF name: vstamp)
|
| |
|
uint16_t | build_revision = 0 |
| | Revision build of system tools (ECOFF name: bldrev)
|
| |
|
uint64_t | code_size = 0 |
| | Size of code segment (ECOFF name: tsize)
|
| |
|
uint64_t | data_size = 0 |
| | Size of data segment (ECOFF name: dsize)
|
| |
|
uint64_t | bss_size = 0 |
| | Size of bss segment (ECOFF name: bsize)
|
| |
|
uint64_t | entry_address = 0 |
| | Virtual address of execution start (ECOFF name: entry)
|
| |
|
uint64_t | code_address = 0 |
| | Base address for code segment (ECOFF name: text_start)
|
| |
|
uint64_t | data_address = 0 |
| | Base address for data segment (ECOFF name: data_start)
|
| |
|
uint64_t | bss_address = 0 |
| | Base address for bss segment (ECOFF name: bss_start)
|
| |
|
uint32_t | gpr_mask = 0 |
| | unused (ECOFF name: gprmask)
|
| |
|
uint32_t | fpr_mask = 0 |
| | unused (ECOFF name: fprmask)
|
| |
|
uint64_t | global_pointer = 0 |
| | Initial global pointer value (ECOFF name: gp_value)
|
| |
|
|
static constexpr uint16_t | SYM_STAMP = 0x030D |
| |
ECOFF optional header.
TODO: untested
◆ CalculateValues()
| offset_t COFFFormat::ECOFFAOutHeader::CalculateValues |
( |
COFFFormat & |
coff | ) |
|
|
overridevirtual |
◆ Dump()
◆ GetHeaderFormatName()
| std::string COFFFormat::ECOFFAOutHeader::GetHeaderFormatName |
( |
const COFFFormat & |
coff | ) |
const |
|
overridevirtual |
◆ GetSize()
| uint32_t COFFFormat::ECOFFAOutHeader::GetSize |
( |
| ) |
const |
|
overridevirtual |
◆ ReadFile()
| void COFFFormat::ECOFFAOutHeader::ReadFile |
( |
const std::shared_ptr< Linker::Reader > & |
rd | ) |
|
|
overridevirtual |
◆ WriteFile()
| void COFFFormat::ECOFFAOutHeader::WriteFile |
( |
const std::shared_ptr< Linker::Writer > & |
wr | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- src/format/coff.h
- src/format/coff.cc