7#include "../dumper/dumper.h"
8#include "../linker/module.h"
9#include "../linker/options.h"
10#include "../linker/reader.h"
11#include "../linker/segment.h"
12#include "../linker/writer.h"
30 AppleFormat(uint64_t default_base_address = 0x0803, std::string default_extension =
".bin")
49 AtariFormat(uint64_t default_base_address = 0, std::string default_extension =
".xex")
126 std::shared_ptr<Linker::Image>
image;
187 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
214 std::shared_ptr<Linker::Segment> loader;
216 void Clear()
override;
223 void SetupDefaultLoader();
250 InitializeFields(rsx_file_names);
272 std::shared_ptr<PRLFormat>
module;
280 void Clear()
override;
292 std::shared_ptr<Linker::OptionCollector>
GetOptions()
override;
294 void SetOptions(std::map<std::string, std::string>& options)
override;
318 std::shared_ptr<Linker::Image> image;
323 std::vector<std::unique_ptr<Segment>> segments;
325 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
348 InitializeFields(banked);
407 std::shared_ptr<Linker::OptionCollector>
GetOptions()
override;
408 void SetOptions(std::map<std::string, std::string>& options)
override;
410 std::unique_ptr<Script::List> GetScript(
Linker::Module& module)
override;
412 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
458 std::shared_ptr<Linker::Image> code, data;
460 void OnNewSegment(std::shared_ptr<Linker::Segment> segment)
override;
An abstract interface that separates structure and presentation of the data inside a file.
Definition dumper.h:586
Encodes an object module file as a collection of sections, symbols and relocations.
Definition module.h:24
Helper class that contains the options interpreted by the format.
Definition options.h:308
Documents and handles command line options.
Definition options.h:196
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16
A representation of a value within some binary data that has to be fixed up once the exact position o...
Definition relocation.h:27
Representing a resolved relocation.
Definition resolution.h:17
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15