QuakeForge  0.7.2.210-815cf
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
reloc.c File Reference

Macros

#define RELOC(r)   (r)->space->data[(r)->offset].integer_var
 

Functions

reloc_tnew_reloc (defspace_t *space, int offset, reloc_type type)
 Create a relocation record of the specified type. More...
 
void reloc_attach_relocs (reloc_t *relocs, reloc_t **location)
 
void reloc_def_def (def_t *def, def_t *location)
 Create a relocation record for a data location referencing a def. More...
 
void reloc_def_def_ofs (def_t *def, def_t *location)
 Create a relocation record for a data location referencing a def. More...
 
void reloc_def_field (def_t *def, def_t *location)
 Create a relocation record for a data location referencing a field. More...
 
void reloc_def_field_ofs (def_t *def, def_t *location)
 Create a relocation record for a data location referencing a field. More...
 
void reloc_def_func (function_t *func, def_t *location)
 Create a relocation record for a data location referencing a function. More...
 
void reloc_def_op (ex_label_t *label, def_t *location)
 Create a relocation record for a data location referencing an instruction. More...
 
void reloc_def_string (def_t *location)
 Create a relocation record for a data location referencing a string. More...
 
void reloc_op_def (def_t *def, int offset, int field)
 Create a relocation record for an instruction referencing a def. More...
 
void reloc_op_def_ofs (def_t *def, int offset, int field)
 Create a relative relocation record for an instruction referencing a def. More...
 
void relocate_refs (reloc_t *reloc, int offset)
 Perform all relocations in a relocation chain. More...
 

Macro Definition Documentation

#define RELOC (   r)    (r)->space->data[(r)->offset].integer_var