Merge pull request #5352 from sum2012/ELF-Patch

Support ELF:R_MIPS_16
This commit is contained in:
Henrik Rydgård committed 2014-02-06 21:56:39 +01:00
commit de1c756258
1 file changed
+1 -1
+1 -1
View File
@@ -170,8 +170,8 @@ bool ElfReader::LoadRelocations(Elf32_Rel *rels, int numRelocs)
case R_MIPS_16:
{
char temp[256];
op = (op & 0xFFFF0000) | (((int)(op & 0xFFFF) + (int)relocateTo) & 0xFFFF);
MIPSDisAsm(MIPSOpcode(op), 0, temp);
ERROR_LOG_REPORT(LOADER, "WARNING: Unsupported R_MIPS_16 reloc @ %08x : %s", addr, temp);
}
break;