|
RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
|
Public Types | |
| enum | relocation_type { Absolute , SelfRelative , DataRelative , SelfRelative26 } |
Public Member Functions | |
| Relocation (size_t size, relocation_type type, uint32_t offset) | |
| bool | operator< (const Relocation &other) const |
Public Attributes | |
| size_t | size |
| Size of relocation in bytes. | |
| relocation_type | type |
| uint32_t | offset |
| Enumerator | |
|---|---|
| Absolute | Relocation is an absolute reference. |
| SelfRelative | Relocation is PC-relative. |
| DataRelative | Relocation relative to the data section. |
| SelfRelative26 | Relocation is 26-bit PC-relative, for PowerPC. |