|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Public Types | |
| enum | module_kind_type : uint8_t { None = 0 , Unit = 2 , Procedure = 3 , Function = 4 , DataModule = 5 } |
Public Types inherited from MPW::ObjectFormat::Record | |
| enum | record_type { Pad = 0 , First = 1 , Last = 2 , Comment = 3 , Dictionary = 4 , Module = 5 , EntryPoint = 6 , Size = 7 , Contents = 8 , Reference = 9 , ComputedReference = 10 , Filename = 11 , SourceStatement = 12 , ModuleBegin = 13 , ModuleEnd = 14 , BlockBegin = 15 , BlockEnd = 16 , LocalIdentifier = 17 , LocalLabel = 18 , LocalType = 19 } |
Public Member Functions | |
| ModuleBeginRecord (record_type type=record_type(0), offset_t record_offset=0) | |
| void | ReadBody (const std::shared_ptr< Linker::Reader > &rd) override |
| offset_t | ImageSize () const override |
| offset_t | WriteFile (const std::shared_ptr< Linker::Writer > &wr) const override |
| void | Dump (Dumper::Dumper &dump, offset_t record_index) const override |
Public Member Functions inherited from MPW::ObjectFormat::Record | |
| Record (record_type type=record_type(0), offset_t record_offset=0) | |
Public Attributes | |
| uint8_t | flags = 0 |
| uint16_t | module_id = 0 |
| uint16_t | parent_id = 0 |
| uint16_t | file_id = 0 |
| uint32_t | file_offset = 0 |
| module_kind_type | module_kind = module_kind_type(0) |
Public Attributes inherited from MPW::ObjectFormat::Record | |
| offset_t | record_offset |
| record_type | type |
Static Public Attributes | |
| static constexpr uint8_t | IsDeclarationFlag = 0x04 |
| static constexpr uint8_t | FileOffset16Flag = 0x80 |
Additional Inherited Members | |
Static Public Member Functions inherited from MPW::ObjectFormat::Record | |
| static std::shared_ptr< Record > | ReadFile (const std::shared_ptr< Linker::Reader > &rd) |
Static Protected Attributes inherited from MPW::ObjectFormat::Record | |
| static const std::map< offset_t, std::string > | record_type_names |
|
overridevirtual |
Reimplemented from MPW::ObjectFormat::Record.
|
overridevirtual |
Reimplemented from MPW::ObjectFormat::Record.
|
overridevirtual |
Reimplemented from MPW::ObjectFormat::Record.
|
overridevirtual |
Reimplemented from MPW::ObjectFormat::Record.