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

GNU a.out optional header TODO. More...

#include <coff.h>

Inheritance diagram for COFF::COFFFormat::GNUAOutHeader:
COFF::COFFFormat::OptionalHeader

Public Member Functions

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

Public Attributes

uint32_t info = 0
 
uint32_t code_size = 0
 
uint32_t data_size = 0
 
uint32_t bss_size = 0
 
uint32_t symbol_table_size = 0
 
uint32_t entry_address = 0
 
uint32_t code_relocation_size = 0
 
uint32_t data_relocation_size = 0
 

Detailed Description

GNU a.out optional header TODO.

Member Function Documentation

◆ Dump()

void COFFFormat::GNUAOutHeader::Dump ( COFFFormat & coff,
Dumper::Dumper & dump )
overridevirtual

Reimplemented from COFF::COFFFormat::OptionalHeader.

◆ GetSize()

uint32_t COFFFormat::GNUAOutHeader::GetSize ( )
overridevirtual

Returns size of optional header.

Implements COFF::COFFFormat::OptionalHeader.

◆ ReadFile()

void COFFFormat::GNUAOutHeader::ReadFile ( Linker::Reader & wr)
overridevirtual

◆ WriteFile()

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

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