mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-29 23:52:22 +00:00
Implement some missed relocs.
This commit is contained in:
parent
2bddcefafe
commit
75c3653be4
1 changed files with 2 additions and 2 deletions
|
@ -726,7 +726,7 @@ qfo_relocate_refs (qfo_t *qfo)
|
||||||
// these should never appear in a qfo file
|
// these should never appear in a qfo file
|
||||||
break;
|
break;
|
||||||
case rel_def_op:
|
case rel_def_op:
|
||||||
//FIXME how?
|
QFO_INT (qfo, reloc->space, reloc->offset) = reloc->target;
|
||||||
break;
|
break;
|
||||||
case rel_def_def:
|
case rel_def_def:
|
||||||
QFO_INT (qfo, reloc->space, reloc->offset) = def->offset;
|
QFO_INT (qfo, reloc->space, reloc->offset) = def->offset;
|
||||||
|
@ -738,7 +738,7 @@ qfo_relocate_refs (qfo_t *qfo)
|
||||||
QFO_INT (qfo, reloc->space, reloc->offset) = reloc->target;
|
QFO_INT (qfo, reloc->space, reloc->offset) = reloc->target;
|
||||||
break;
|
break;
|
||||||
case rel_def_field:
|
case rel_def_field:
|
||||||
//FIXME how?
|
QFO_INT (qfo, reloc->space, reloc->offset) = def->offset;
|
||||||
break;
|
break;
|
||||||
case rel_op_a_def_ofs:
|
case rel_op_a_def_ofs:
|
||||||
QFO_STATEMENT (qfo, reloc->offset)->a += def->offset;
|
QFO_STATEMENT (qfo, reloc->offset)->a += def->offset;
|
||||||
|
|
Loading…
Reference in a new issue