Lines Matching refs:SectionID
603 SID SectionID) { in resolveMIPS64Relocation() argument
613 SymOffset, SectionID); in resolveMIPS64Relocation()
618 SectionID); in resolveMIPS64Relocation()
624 SectionID); in resolveMIPS64Relocation()
634 uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument
657 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
671 getSectionAddress(SectionToGOTMap[SectionID]) + SymOffset; in evaluateMIPS64Relocation()
691 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation()
793 Rel.SectionID = 0; in findPPC64TOCSection()
808 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
886 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
1099 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
1101 RE.SymOffset, RE.SectionID); in resolveRelocation()
1107 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument
1136 SectionID); in resolveRelocation()
1155 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument
1156 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress()
1159 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument
1160 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation()
1164 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1192 unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, in processRelocationRef() argument
1230 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1254 Value.SectionID = *SectionIDOrErr; in processRelocationRef()
1281 DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
1287 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1303 RelocationEntry REmovz_g3(SectionID, in processRelocationRef()
1306 RelocationEntry REmovk_g2(SectionID, StubTargetAddr - in processRelocationRef()
1309 RelocationEntry REmovk_g1(SectionID, StubTargetAddr - in processRelocationRef()
1312 RelocationEntry REmovk_g0(SectionID, StubTargetAddr - in processRelocationRef()
1322 addRelocationForSection(REmovz_g3, Value.SectionID); in processRelocationRef()
1323 addRelocationForSection(REmovk_g2, Value.SectionID); in processRelocationRef()
1324 addRelocationForSection(REmovk_g1, Value.SectionID); in processRelocationRef()
1325 addRelocationForSection(REmovk_g0, Value.SectionID); in processRelocationRef()
1338 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1354 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1359 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1369 reinterpret_cast<uint32_t*>(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1377 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1381 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1386 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1398 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1399 addRelocationForSection(RE, SectionID); in processRelocationRef()
1409 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1411 RelocationEntry RELo(SectionID, in processRelocationRef()
1420 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1421 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1424 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1425 addRelocationForSection(RE, SectionID); in processRelocationRef()
1430 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1439 SectionID == Reloc.SectionID) { in processRelocationRef()
1444 addRelocationForSection(Reloc, Value.SectionID); in processRelocationRef()
1449 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1453 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1465 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1469 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1476 RE.SymOffset = allocateGOTEntries(SectionID, 1); in processRelocationRef()
1483 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1493 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1510 Sections[Value.SectionID].getAddressWithOffset(Value.Addend); in processRelocationRef()
1514 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1518 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1541 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1552 RelocationEntry REhst(SectionID, StubRelocOffset + 0, in processRelocationRef()
1554 RelocationEntry REhr(SectionID, StubRelocOffset + 4, in processRelocationRef()
1556 RelocationEntry REh(SectionID, StubRelocOffset + 12, in processRelocationRef()
1558 RelocationEntry REl(SectionID, StubRelocOffset + 16, in processRelocationRef()
1567 addRelocationForSection(REhst, Value.SectionID); in processRelocationRef()
1568 addRelocationForSection(REhr, Value.SectionID); in processRelocationRef()
1569 addRelocationForSection(REh, Value.SectionID); in processRelocationRef()
1570 addRelocationForSection(REl, Value.SectionID); in processRelocationRef()
1616 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1619 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); in processRelocationRef()
1635 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1640 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1654 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1675 RelocationEntry RE(SectionID, StubOffset + 8, ELF::R_390_64, in processRelocationRef()
1680 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1710 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1733 uint64_t GOTOffset = allocateGOTEntries(SectionID, 1); in processRelocationRef()
1736 resolveGOTOffsetRelocation(SectionID, StubOffset + 2, GOTOffset - 4); in processRelocationRef()
1740 computeGOTOffsetRE(SectionID, GOTOffset, 0, ELF::R_X86_64_64), in processRelocationRef()
1748 RelocationEntry RE(SectionID, Offset, ELF::R_X86_64_PC32, Value.Addend, in processRelocationRef()
1750 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1755 uint64_t GOTOffset = allocateGOTEntries(SectionID, 1); in processRelocationRef()
1756 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend); in processRelocationRef()
1759 RelocationEntry RE = computeGOTOffsetRE(SectionID, GOTOffset, Value.Offset, ELF::R_X86_64_64); in processRelocationRef()
1763 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1765 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1766 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1768 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1769 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1771 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1775 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1777 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1817 uint64_t RuntimeDyldELF::allocateGOTEntries(unsigned SectionID, unsigned no) in allocateGOTEntries() argument
1819 (void)SectionID; // The GOT Section is the same for all section in the object file in allocateGOTEntries()
1831 void RuntimeDyldELF::resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset, uint64_t GOTOf… in resolveGOTOffsetRelocation() argument
1834 RelocationEntry GOTRE(SectionID, Offset, ELF::R_X86_64_PC32, GOTOffset); in resolveGOTOffsetRelocation()
1838 RelocationEntry RuntimeDyldELF::computeGOTOffsetRE(unsigned SectionID, uint64_t GOTOffset, uint64_t… in computeGOTOffsetRE() argument
1841 (void)SectionID; // The GOT Section is the same for all section in the object file in computeGOTOffsetRE()