Home | History | Annotate | Download | only in RuntimeDyld

Lines Matching refs:Section

24 void RuntimeDyldMachO::resolveRelocation(const SectionEntry &Section,
29 uint8_t *LocalAddress = Section.Address + Offset;
30 uint64_t FinalAddress = Section.LoadAddress + Offset;
216 SectionEntry &Section = Sections[Rel.SectionID];
249 assert(si != se && "No section containing relocation!");
258 // The MachO addend is an offset from the current section. We need it
259 // to be an offset from the destination section
260 Value.Addend += Section.ObjAddress - Sections[Value.SectionID].ObjAddress;
270 resolveRelocation(Section, Rel.Offset,
271 (uint64_t)Section.Address + i->second,
275 Stubs[Value] = Section.StubOffset;
276 uint8_t *StubTargetAddr = createStubFunction(Section.Address +
277 Section.StubOffset);
278 RelocationEntry RE(Rel.SectionID, StubTargetAddr - Section.Address,
284 resolveRelocation(Section, Rel.Offset,
285 (uint64_t)Section.Address + Section.StubOffset,
287 Section.StubOffset += getMaxStubSize();