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
Amiga::HunkFormat::SymbolBlock::References Class Reference
Inheritance diagram for Amiga::HunkFormat::SymbolBlock::References:
Amiga::HunkFormat::SymbolBlock::Unit Amiga::HunkFormat::SymbolBlock::CommonReferences

Public Member Functions

 References (symbol_type type, std::string name)
 
void Read (Linker::Reader &rd) override
 Read data after type and name.
 
void Write (Linker::Writer &wr) const override
 Write entire unit.
 
offset_t FileSize () const override
 Size of entire unit, including type and name fields.
 
void DumpContents (Dumper::Dumper &dump, const Module &module, const Hunk *hunk, unsigned index, offset_t current_offset) const override
 
- Public Member Functions inherited from Amiga::HunkFormat::SymbolBlock::Unit
 Unit (symbol_type type, std::string name)
 
virtual void AddExtraFields (Dumper::Dumper &dump, Dumper::Entry &entry, const Module &module, const Hunk *hunk, unsigned index, offset_t current_offset) const
 

Public Attributes

std::vector< uint32_t > references
 
- Public Attributes inherited from Amiga::HunkFormat::SymbolBlock::Unit
symbol_type type
 
std::string name
 

Additional Inherited Members

- Public Types inherited from Amiga::HunkFormat::SymbolBlock::Unit
enum  symbol_type {
  EXT_SYMB = 0 , EXT_DEF = 1 , EXT_ABS = 2 , EXT_RES = 3 ,
  EXT_ABSREF32 = 129 , EXT_COMMON = 130 , EXT_RELREF16 = 131 , EXT_RELREF8 = 132 ,
  EXT_DREF32 = 133 , EXT_DREF16 = 134 , EXT_DREF8 = 135 , EXT_RELREF32 = 136 ,
  EXT_RELCOMMON = 137 , EXT_ABSREF16 = 138 , EXT_ABSREF8 = 139 , EXT_RELREF26 = 229
}
 
- Static Public Member Functions inherited from Amiga::HunkFormat::SymbolBlock::Unit
static std::unique_ptr< UnitReadData (Linker::Reader &rd)
 

Member Function Documentation

◆ DumpContents()

void HunkFormat::SymbolBlock::References::DumpContents ( Dumper::Dumper & dump,
const Module & module,
const Hunk * hunk,
unsigned index,
offset_t current_offset ) const
overridevirtual

◆ FileSize()

offset_t HunkFormat::SymbolBlock::References::FileSize ( ) const
overridevirtual

Size of entire unit, including type and name fields.

Reimplemented from Amiga::HunkFormat::SymbolBlock::Unit.

◆ Read()

void HunkFormat::SymbolBlock::References::Read ( Linker::Reader & rd)
overridevirtual

Read data after type and name.

Reimplemented from Amiga::HunkFormat::SymbolBlock::Unit.

◆ Write()

void HunkFormat::SymbolBlock::References::Write ( Linker::Writer & wr) const
overridevirtual

Write entire unit.

Reimplemented from Amiga::HunkFormat::SymbolBlock::Unit.


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