Lines Matching refs:SectionID

567   Rel.SectionID = 0;  in findPPC64TOCSection()
582 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
660 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
919 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
921 RE.SymOffset, RE.SectionID); in resolveRelocation()
927 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument
966 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument
967 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress()
970 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument
971 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation()
975 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1011 unsigned SectionID, relocation_iterator RelI, in resolveAArch64ShortBranch() argument
1026 Address = uint64_t(Sections[Value.SectionID].getLoadAddress()); in resolveAArch64ShortBranch()
1029 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset); in resolveAArch64ShortBranch()
1037 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(), in resolveAArch64ShortBranch()
1043 void RuntimeDyldELF::resolveAArch64Branch(unsigned SectionID, in resolveAArch64Branch() argument
1049 SectionEntry &Section = Sections[SectionID]; in resolveAArch64Branch()
1060 } else if (!resolveAArch64ShortBranch(SectionID, RelI, Value)) { in resolveAArch64Branch()
1067 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.getAddress(), in resolveAArch64Branch()
1069 RelocationEntry REmovk_g2(SectionID, in resolveAArch64Branch()
1072 RelocationEntry REmovk_g1(SectionID, in resolveAArch64Branch()
1075 RelocationEntry REmovk_g0(SectionID, in resolveAArch64Branch()
1085 addRelocationForSection(REmovz_g3, Value.SectionID); in resolveAArch64Branch()
1086 addRelocationForSection(REmovk_g2, Value.SectionID); in resolveAArch64Branch()
1087 addRelocationForSection(REmovk_g1, Value.SectionID); in resolveAArch64Branch()
1088 addRelocationForSection(REmovk_g0, Value.SectionID); in resolveAArch64Branch()
1100 unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, in processRelocationRef() argument
1141 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1165 Value.SectionID = *SectionIDOrErr; in processRelocationRef()
1193 LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
1197 resolveAArch64Branch(SectionID, Value, RelI, Stubs); in processRelocationRef()
1202 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1207 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1210 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1217 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1233 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1238 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1248 reinterpret_cast<uint32_t*>(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1256 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1260 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1265 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1277 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1278 addRelocationForSection(RE, SectionID); in processRelocationRef()
1291 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1293 RelocationEntry RELo(SectionID, in processRelocationRef()
1301 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1302 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1305 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1306 addRelocationForSection(RE, SectionID); in processRelocationRef()
1311 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1320 SectionID == Reloc.SectionID) { in processRelocationRef()
1325 addRelocationForSection(Reloc, Value.SectionID); in processRelocationRef()
1330 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1334 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1346 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1350 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1363 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1367 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1372 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1373 addRelocationForSection(RE, SectionID); in processRelocationRef()
1387 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1389 RelocationEntry RELo(SectionID, in processRelocationRef()
1396 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1397 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1402 RelocationEntry REHighest(SectionID, in processRelocationRef()
1405 RelocationEntry REHigher(SectionID, in processRelocationRef()
1408 RelocationEntry REHi(SectionID, in processRelocationRef()
1411 RelocationEntry RELo(SectionID, in processRelocationRef()
1420 addRelocationForSection(REHighest, Value.SectionID); in processRelocationRef()
1421 addRelocationForSection(REHigher, Value.SectionID); in processRelocationRef()
1422 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1423 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1426 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1427 addRelocationForSection(RE, SectionID); in processRelocationRef()
1431 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1443 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1457 if (Value.SectionID == SectionID){ in processRelocationRef()
1463 Sections[Value.SectionID].getAddressWithOffset(Value.Addend); in processRelocationRef()
1469 (AbiVariant == 2 && Value.SectionID == SectionID)) { in processRelocationRef()
1470 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1471 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1474 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID) || in processRelocationRef()
1493 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1504 RelocationEntry REhst(SectionID, StubRelocOffset + 0, in processRelocationRef()
1506 RelocationEntry REhr(SectionID, StubRelocOffset + 4, in processRelocationRef()
1508 RelocationEntry REh(SectionID, StubRelocOffset + 12, in processRelocationRef()
1510 RelocationEntry REl(SectionID, StubRelocOffset + 16, in processRelocationRef()
1519 addRelocationForSection(REhst, Value.SectionID); in processRelocationRef()
1520 addRelocationForSection(REhr, Value.SectionID); in processRelocationRef()
1521 addRelocationForSection(REh, Value.SectionID); in processRelocationRef()
1522 addRelocationForSection(REl, Value.SectionID); in processRelocationRef()
1531 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID)) { in processRelocationRef()
1568 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1571 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); in processRelocationRef()
1587 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1592 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1606 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1627 RelocationEntry RE(SectionID, StubOffset + 8, ELF::R_390_64, in processRelocationRef()
1632 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1662 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1688 resolveGOTOffsetRelocation(SectionID, StubOffset + 2, GOTOffset - 4, in processRelocationRef()
1701 RelocationEntry RE(SectionID, Offset, ELF::R_X86_64_PC32, Value.Addend, in processRelocationRef()
1703 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1709 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1718 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1722 resolveRelocation(Sections[SectionID], Offset, GOTOffset, in processRelocationRef()
1731 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1737 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC64); in processRelocationRef()
1741 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1743 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1744 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1746 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1747 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1749 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1753 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1755 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1819 addRelocationForSection(RE, Value.SectionID); in findOrAllocGOTEntry()
1827 void RuntimeDyldELF::resolveGOTOffsetRelocation(unsigned SectionID, in resolveGOTOffsetRelocation() argument
1832 RelocationEntry GOTRE(SectionID, Offset, Type, GOTOffset); in resolveGOTOffsetRelocation()