relocation code written in mipself.c