mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-08 06:32:24 +00:00
Indenting.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b4164284b5
commit
a7ca3c2a28
@ -378,17 +378,17 @@ void RuntimeDyldImpl::reassignSectionAddress(unsigned SectionID,
|
|||||||
|
|
||||||
void RuntimeDyldImpl::resolveRelocationEntry(const RelocationEntry &RE,
|
void RuntimeDyldImpl::resolveRelocationEntry(const RelocationEntry &RE,
|
||||||
uint64_t Value) {
|
uint64_t Value) {
|
||||||
// Ignore relocations for sections that were not loaded
|
// Ignore relocations for sections that were not loaded
|
||||||
if (Sections[RE.SectionID].Address != 0) {
|
if (Sections[RE.SectionID].Address != 0) {
|
||||||
uint8_t *Target = Sections[RE.SectionID].Address + RE.Offset;
|
uint8_t *Target = Sections[RE.SectionID].Address + RE.Offset;
|
||||||
DEBUG(dbgs() << "\tSectionID: " << RE.SectionID
|
DEBUG(dbgs() << "\tSectionID: " << RE.SectionID
|
||||||
<< " + " << RE.Offset << " (" << format("%p", Target) << ")"
|
<< " + " << RE.Offset << " (" << format("%p", Target) << ")"
|
||||||
<< " RelType: " << RE.RelType
|
<< " RelType: " << RE.RelType
|
||||||
<< " Addend: " << RE.Addend
|
<< " Addend: " << RE.Addend
|
||||||
<< "\n");
|
<< "\n");
|
||||||
|
|
||||||
resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset,
|
resolveRelocation(Target, Sections[RE.SectionID].LoadAddress + RE.Offset,
|
||||||
Value, RE.RelType, RE.Addend);
|
Value, RE.RelType, RE.Addend);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user