RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Representing a resolved relocation. More...
#include <resolution.h>
Public Member Functions | |
Resolution (uint64_t value, std::shared_ptr< Segment > target, std::shared_ptr< Segment > reference) | |
Public Attributes | |
uint64_t | value |
The resolved value. | |
std::shared_ptr< Segment > | target |
The segment of the target. | |
std::shared_ptr< Segment > | reference |
The segment of the reference. | |
Representing a resolved relocation.
When a relocation is resolved, it gives a value, but also the segment (ie. address space) of the target and reference frames.
std::shared_ptr<Segment> Linker::Resolution::reference |
The segment of the reference.
Typical values might have null, indicating an absolute address, or the same segment as target, representing an inter-segment offset