PLUGINS: Added _segmentVMA to the MIPS loader.
Also added 2 TODOs for all loaders not respection that offset. svn-id: r52577
This commit is contained in:
parent
364acaae45
commit
cd5e62bbe8
2 changed files with 3 additions and 2 deletions
|
@ -59,7 +59,7 @@ bool ARMDLObject::relocate(Elf32_Off offset, Elf32_Word size, byte *relSegment)
|
|||
// Get the symbol this relocation entry is referring to
|
||||
Elf32_Sym *sym = _symtab + (REL_INDEX(rel[i].r_info));
|
||||
|
||||
// Get the target instruction in the code
|
||||
// Get the target instruction in the code. TODO: repect _segmentVMA
|
||||
uint32 *target = (uint32 *)((byte *)relSegment + rel[i].r_offset);
|
||||
|
||||
uint32 origTarget = *target; //Save for debugging
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue