mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Debugger: Specifically tag relocations.
This is useful info.
This commit is contained in:
parent
ca7d127adc
commit
9ead436069
1 changed files with 3 additions and 5 deletions
|
@ -170,11 +170,7 @@ bool ElfReader::LoadRelocations(const Elf32_Rel *rels, int numRelocs)
|
|||
break;
|
||||
|
||||
case R_MIPS_16:
|
||||
{
|
||||
char temp[256];
|
||||
op = (op & 0xFFFF0000) | (((int)(op & 0xFFFF) + (int)relocateTo) & 0xFFFF);
|
||||
MIPSDisAsm(MIPSOpcode(op), 0, temp);
|
||||
}
|
||||
op = (op & 0xFFFF0000) | (((int)(op & 0xFFFF) + (int)relocateTo) & 0xFFFF);
|
||||
break;
|
||||
|
||||
case R_MIPS_NONE:
|
||||
|
@ -190,6 +186,7 @@ bool ElfReader::LoadRelocations(const Elf32_Rel *rels, int numRelocs)
|
|||
break;
|
||||
}
|
||||
Memory::Write_U32(op, addr);
|
||||
NotifyMemInfo(MemBlockFlags::WRITE, addr, 4, "Relocation");
|
||||
}
|
||||
if (numErrors) {
|
||||
WARN_LOG(LOADER, "%i bad relocations found!!!", numErrors);
|
||||
|
@ -348,6 +345,7 @@ void ElfReader::LoadRelocations2(int rel_seg)
|
|||
}
|
||||
|
||||
Memory::Write_U32(op, rel_offset);
|
||||
NotifyMemInfo(MemBlockFlags::WRITE, addr, 4, "Relocation2");
|
||||
rcount += 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue