RetroLinker
Linker for several 8-bit, 16-bit and 32-bit formats
Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | Public Attributes | List of all members
Apple::PEFFormat::Relocation Class Reference

Represents a single relocated 32-bit word in memory. More...

#include <pefexe.h>

Public Types

enum  target_type { Section , Symbol }
 

Static Public Member Functions

static Relocation ToSection (uint32_t section_number)
 
static Relocation ToSection (std::weak_ptr< PEFFormat::Section > section)
 
static Relocation ToSymbol (uint32_t symbol_number)
 
static Relocation ToSymbol (std::weak_ptr< ImportedSymbol > symbol)
 

Public Attributes

target_type type = Section
 
bool compiled = true
 
uint32_t number = 0
 
std::weak_ptr< PEFFormat::Sectionsection
 
std::weak_ptr< ImportedSymbolsymbol
 

Detailed Description

Represents a single relocated 32-bit word in memory.

Note that PEF files do not store these directly, instead these have to be generated from the relocation data.


The documentation for this class was generated from the following file: