make offsets return pc relative reltab entry
This commit is contained in:
parent
c248a7507c
commit
b773ef9709
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ static int gen_ins_write_state(
|
||||||
break;
|
break;
|
||||||
case GMR_OFFSET:
|
case GMR_OFFSET:
|
||||||
ins.offset = state->offset;
|
ins.offset = state->offset;
|
||||||
reftype = REF_MIPS_16;
|
reftype = REF_MIPS_PC16;
|
||||||
break;
|
break;
|
||||||
case GMR_OFFSET_BASE:
|
case GMR_OFFSET_BASE:
|
||||||
ins.offset = state->offset;
|
ins.offset = state->offset;
|
||||||
|
|
Loading…
Reference in a new issue