make offsets return pc relative reltab entry

This commit is contained in:
Murphy 2024-10-04 19:55:27 -04:00
parent c248a7507c
commit b773ef9709
Signed by: freya
GPG key ID: 744AB800E383AE52

View file

@ -581,7 +581,7 @@ static int gen_ins_write_state(
break;
case GMR_OFFSET:
ins.offset = state->offset;
reftype = REF_MIPS_16;
reftype = REF_MIPS_PC16;
break;
case GMR_OFFSET_BASE:
ins.offset = state->offset;