Lines Matching refs:SectionID
635 Rel.SectionID = 0; in findPPC64TOCSection()
651 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
735 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
997 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
999 RE.SymOffset, RE.SectionID); in resolveRelocation()
1005 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument
1045 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument
1046 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress()
1049 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument
1050 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation()
1054 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1090 unsigned SectionID, relocation_iterator RelI, in resolveAArch64ShortBranch() argument
1105 Address = uint64_t(Sections[Value.SectionID].getLoadAddress()); in resolveAArch64ShortBranch()
1108 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset); in resolveAArch64ShortBranch()
1116 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(), in resolveAArch64ShortBranch()
1122 void RuntimeDyldELF::resolveAArch64Branch(unsigned SectionID, in resolveAArch64Branch() argument
1128 SectionEntry &Section = Sections[SectionID]; in resolveAArch64Branch()
1139 } else if (!resolveAArch64ShortBranch(SectionID, RelI, Value)) { in resolveAArch64Branch()
1146 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.getAddress(), in resolveAArch64Branch()
1148 RelocationEntry REmovk_g2(SectionID, in resolveAArch64Branch()
1151 RelocationEntry REmovk_g1(SectionID, in resolveAArch64Branch()
1154 RelocationEntry REmovk_g0(SectionID, in resolveAArch64Branch()
1164 addRelocationForSection(REmovz_g3, Value.SectionID); in resolveAArch64Branch()
1165 addRelocationForSection(REmovk_g2, Value.SectionID); in resolveAArch64Branch()
1166 addRelocationForSection(REmovk_g1, Value.SectionID); in resolveAArch64Branch()
1167 addRelocationForSection(REmovk_g0, Value.SectionID); in resolveAArch64Branch()
1179 unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, in processRelocationRef() argument
1220 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1244 Value.SectionID = *SectionIDOrErr; in processRelocationRef()
1272 LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
1278 resolveAArch64Branch(SectionID, Value, RelI, Stubs); in processRelocationRef()
1283 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1288 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1291 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1298 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1314 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1319 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1329 reinterpret_cast<uint32_t*>(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1337 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1341 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1346 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1358 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1359 addRelocationForSection(RE, SectionID); in processRelocationRef()
1372 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1374 RelocationEntry RELo(SectionID, in processRelocationRef()
1382 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1383 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1386 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1387 addRelocationForSection(RE, SectionID); in processRelocationRef()
1392 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1401 SectionID == Reloc.SectionID) { in processRelocationRef()
1406 addRelocationForSection(Reloc, Value.SectionID); in processRelocationRef()
1411 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1415 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1427 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1431 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1444 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1448 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1453 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1454 addRelocationForSection(RE, SectionID); in processRelocationRef()
1468 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1470 RelocationEntry RELo(SectionID, in processRelocationRef()
1477 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1478 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1483 RelocationEntry REHighest(SectionID, in processRelocationRef()
1486 RelocationEntry REHigher(SectionID, in processRelocationRef()
1489 RelocationEntry REHi(SectionID, in processRelocationRef()
1492 RelocationEntry RELo(SectionID, in processRelocationRef()
1501 addRelocationForSection(REHighest, Value.SectionID); in processRelocationRef()
1502 addRelocationForSection(REHigher, Value.SectionID); in processRelocationRef()
1503 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1504 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1507 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1508 addRelocationForSection(RE, SectionID); in processRelocationRef()
1512 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1524 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1538 if (Value.SectionID == SectionID){ in processRelocationRef()
1544 Sections[Value.SectionID].getAddressWithOffset(Value.Addend); in processRelocationRef()
1550 (AbiVariant == 2 && Value.SectionID == SectionID)) { in processRelocationRef()
1551 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1552 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1555 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID) || in processRelocationRef()
1574 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1585 RelocationEntry REhst(SectionID, StubRelocOffset + 0, in processRelocationRef()
1587 RelocationEntry REhr(SectionID, StubRelocOffset + 4, in processRelocationRef()
1589 RelocationEntry REh(SectionID, StubRelocOffset + 12, in processRelocationRef()
1591 RelocationEntry REl(SectionID, StubRelocOffset + 16, in processRelocationRef()
1600 addRelocationForSection(REhst, Value.SectionID); in processRelocationRef()
1601 addRelocationForSection(REhr, Value.SectionID); in processRelocationRef()
1602 addRelocationForSection(REh, Value.SectionID); in processRelocationRef()
1603 addRelocationForSection(REl, Value.SectionID); in processRelocationRef()
1612 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID)) { in processRelocationRef()
1649 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1652 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); in processRelocationRef()
1668 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1673 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1687 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1708 RelocationEntry RE(SectionID, StubOffset + 8, ELF::R_390_64, in processRelocationRef()
1713 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1743 SectionEntry *Section = &Sections[SectionID]; in processRelocationRef()
1769 Section = &Sections[SectionID]; in processRelocationRef()
1772 resolveGOTOffsetRelocation(SectionID, StubOffset + 2, GOTOffset - 4, in processRelocationRef()
1786 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1787 processSimpleRelocation(SectionID, Offset, ELF::R_X86_64_PC32, Value); in processRelocationRef()
1793 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1802 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1806 resolveRelocation(Sections[SectionID], Offset, GOTOffset, in processRelocationRef()
1815 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1821 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC64); in processRelocationRef()
1825 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1827 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1828 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1830 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1831 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1833 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1837 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1839 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1903 addRelocationForSection(RE, Value.SectionID); in findOrAllocGOTEntry()
1911 void RuntimeDyldELF::resolveGOTOffsetRelocation(unsigned SectionID, in resolveGOTOffsetRelocation() argument
1916 RelocationEntry GOTRE(SectionID, Offset, Type, GOTOffset); in resolveGOTOffsetRelocation()