RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Intel Relocatable Object Module format, used by various 16/32-bit DOS based compilers and linkers, including 16-bit Microsoft compilers, Borland and Watcom compilers. More...
#include <omf.h>
Public Member Functions | |
void | ReadFile (Linker::Reader &in) override |
Loads file into memory. | |
void | WriteFile (Linker::Writer &out) override |
Stores data in memory to file. | |
void | ProduceModule (Linker::Module &module, Linker::Reader &rd) override |
Reads a file and loads the information into a module object. | |
Public Member Functions inherited from Linker::InputFormat | |
virtual void | SetupOptions (std::shared_ptr< OutputFormat > format) |
Initializes the reader for linking purposes. | |
virtual bool | FormatProvidesSegmentation () const |
Whether the format enables multiple x86 segments. | |
virtual bool | FormatRequiresDataStreamFix () const |
Whether the generated file might contain bugs that require fixing. | |
virtual bool | FormatProvidesResources () const |
Whether the format supports resources. | |
virtual bool | FormatProvidesLibraries () const |
Whether the format enables importing/exporting libraries. | |
Public Member Functions inherited from Linker::Format | |
Format (offset_t file_offset=0) | |
virtual void | Clear () |
Resets all fields to their default values, deallocate memory. | |
virtual void | Dump (Dumper::Dumper &dump) |
Display file contents in a nice manner. | |
Additional Inherited Members | |
Public Attributes inherited from Linker::Format | |
offset_t | file_offset |
Intel Relocatable Object Module format, used by various 16/32-bit DOS based compilers and linkers, including 16-bit Microsoft compilers, Borland and Watcom compilers.
|
overridevirtual |
Reads a file and loads the information into a module object.
Implements Linker::InputFormat.
|
overridevirtual |
Loads file into memory.
Implements Linker::Format.
|
overridevirtual |
Stores data in memory to file.
Implements Linker::Format.