A relocation, as stored by the Z80/Z8000 backend.
More...
#include <coff.h>
|
|
cpu | cpu_type |
| |
|
uint32_t | address |
| | Address of the relocation (COFF name: r_vaddr)
|
| |
|
uint32_t | symbol_index |
| | Index of symbol in symbol table (COFF name: r_symndx)
|
| |
|
uint32_t | offset |
| | (COFF name: r_offset)
|
| |
|
uint16_t | type |
| | Type of relocation (COFF name: r_type)
|
| |
|
uint16_t | data |
| | unknown (COFF name: r_stuff)
|
| |
|
|
static constexpr uint16_t | R_Z80_IMM8 = 0x22 |
| |
|
static constexpr uint16_t | R_Z80_IMM16 = 0x01 |
| |
|
static constexpr uint16_t | R_Z80_IMM24 = 0x33 |
| |
|
static constexpr uint16_t | R_Z80_IMM32 = 0x17 |
| |
|
static constexpr uint16_t | R_Z80_OFF8 = 0x32 |
| |
|
static constexpr uint16_t | R_Z80_JR = 0x02 |
| |
|
static constexpr uint16_t | R_Z8K_IMM4L = 0x23 |
| |
|
static constexpr uint16_t | R_Z8K_IMM4H = 0x24 |
| |
|
static constexpr uint16_t | R_Z8K_DISP7 = 0x25 |
| |
|
static constexpr uint16_t | R_Z8K_IMM8 = 0x22 |
| |
|
static constexpr uint16_t | R_Z8K_IMM16 = 0x01 |
| |
|
static constexpr uint16_t | R_Z8K_REL16 = 0x04 |
| |
|
static constexpr uint16_t | R_Z8K_IMM32 = 0x11 |
| |
|
static constexpr uint16_t | R_Z8K_JR = 0x02 |
| |
|
static constexpr uint16_t | R_Z8K_CALLR = 0x05 |
| |
|
static constexpr uint16_t | R_W65_ABS8 = 0x01 |
| |
|
static constexpr uint16_t | R_W65_ABS16 = 0x02 |
| |
|
static constexpr uint16_t | R_W65_ABS24 = 0x03 |
| |
|
static constexpr uint16_t | R_W65_ABS8S8 = 0x04 |
| |
|
static constexpr uint16_t | R_W65_ABS8S16 = 0x05 |
| |
|
static constexpr uint16_t | R_W65_ABS16S8 = 0x06 |
| |
|
static constexpr uint16_t | R_W65_ABS16S16 = 0x07 |
| |
|
static constexpr uint16_t | R_W65_PCR8 = 0x08 |
| |
|
static constexpr uint16_t | R_W65_PCR16 = 0x09 |
| |
|
static constexpr uint16_t | R_W65_DP = 0x0A |
| |
A relocation, as stored by the Z80/Z8000 backend.
◆ FillEntry()
| void COFFFormat::ZilogRelocation::FillEntry |
( |
Dumper::Entry & | entry | ) |
const |
|
overridevirtual |
◆ GetAddress()
| offset_t COFFFormat::ZilogRelocation::GetAddress |
( |
| ) |
const |
|
overridevirtual |
◆ GetEntrySize()
| size_t COFFFormat::ZilogRelocation::GetEntrySize |
( |
| ) |
const |
|
overridevirtual |
◆ GetSize()
| size_t COFFFormat::ZilogRelocation::GetSize |
( |
| ) |
const |
|
overridevirtual |
◆ WriteFile()
| void COFFFormat::ZilogRelocation::WriteFile |
( |
Linker::Writer & | wr | ) |
const |
|
overridevirtual |
The documentation for this class was generated from the following files:
- src/format/coff.h
- src/format/coff.cc