8#include "../dumper/dumper.h"
9#include "../linker/module.h"
10#include "../linker/options.h"
11#include "../linker/segment.h"
12#include "../linker/segment_manager.h"
13#include "../linker/writer.h"
21 : AOutFormat(AOutFormat::EMX, AOutFormat::ZMAGIC), LEFormat(LEFormat::OS2, LEFormat::GUIAware | LEFormat::NoInternalFixup,
true)
25 bool bound_image =
false;
26 uint32_t aout_header_offset = 0;
27 std::array<char, 64> dos_options;
29 uint32_t text_base = 0;
30 uint32_t text_end = 0;
31 uint32_t data_base = 0;
32 uint32_t data_end = 0;
33 uint32_t bss_base = 0;
35 uint32_t heap_base = 0;
36 uint32_t heap_end = 0;
37 uint32_t heap_brk = 0;
38 uint32_t heap_off = 0;
40 uint32_t stack_base = 0;
41 uint32_t stack_end = 0;
43 std::array<char, 64> os2_options;
68 InitializeFields(stub);
74 static std::vector<Linker::OptionDescription<void> *> ParameterNames;
77 std::shared_ptr<Linker::OptionCollector>
GetOptions()
override;
78 void SetOptions(std::map<std::string, std::string>& options)
override;
80 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:467
Documents and handles command line options.
Definition options.h:303
A helper class, encapsulating functionality needed to import binary data.
Definition reader.h:16
A helper class, encapsulating functionality needed to export binary data.
Definition writer.h:15