/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64CA53ErratumStub.cpp | 105 Relocation* reloc = in applyFixup() local 109 reloc->setSymInfo(target_info); in applyFixup() 113 reloc->target() = in applyFixup() 115 pIsland.addRelocation(*reloc); in applyFixup() 119 reloc = Relocation::Create((*it)->type(), in applyFixup() 122 reloc->setSymInfo(target_info); in applyFixup() 123 reloc->target() = AArch64InsnHelpers::buildBranchInsn(); in applyFixup() 124 pIsland.addRelocation(*reloc); in applyFixup()
|
D | AArch64LDBackend.cpp | 340 Relocation* reloc = in scanErrata() local 344 reloc->setSymInfo(stub->symInfo()); in scanErrata() 345 reloc->target() = AArch64InsnHelpers::buildBranchInsn(); in scanErrata() 346 addExtraRelocation(reloc); in scanErrata() 383 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in doRelax() local 384 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in doRelax() 385 Relocation* relocation = llvm::cast<Relocation>(reloc); in doRelax()
|
D | AArch64Relocator.cpp | 165 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc() local 170 getRelRelMap().record(pReloc, reloc); in scanLocalReloc() 181 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc() local 186 getRelRelMap().record(pReloc, reloc); in scanLocalReloc() 251 Relocation& reloc = in scanGlobalReloc() local 257 getRelRelMap().record(pReloc, reloc); in scanGlobalReloc() 259 Relocation& reloc = helper_DynRela_init(rsym, in scanGlobalReloc() local 264 getRelRelMap().record(pReloc, reloc); in scanGlobalReloc()
|
/frameworks/compile/mclinker/lib/Object/ |
D | ObjectLinker.cpp | 595 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in scanRelocations() local 596 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in scanRelocations() 597 Relocation* relocation = llvm::cast<Relocation>(reloc); in scanRelocations() 799 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in relocation() local 800 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in relocation() 801 Relocation* relocation = llvm::cast<Relocation>(reloc); in relocation() 883 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in normalSyncRelocationResult() local 884 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in normalSyncRelocationResult() 885 Relocation* relocation = llvm::cast<Relocation>(reloc); in normalSyncRelocationResult() 914 Relocation* reloc = *iter; in normalSyncRelocationResult() local [all …]
|
/frameworks/compile/mclinker/lib/Target/ |
D | OutputRelocSection.cpp | 38 Relocation* reloc = Relocation::Create(); in create() local 39 m_pRelocData->append(*reloc); in create() 40 return reloc; in create()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | Stub.cpp | 58 Relocation* reloc = in applyFixup() local 62 reloc->setSymInfo(pSrcReloc.symInfo()); in applyFixup() 63 pIsland.addRelocation(*reloc); in applyFixup()
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 583 Relocation* reloc = llvm::cast<Relocation>(reloc_it); in setUpReachedSectionsForGC() local 584 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSectionsForGC() 759 Relocation* reloc = in rewriteARMExIdxSection() local 763 reloc->setSymInfo( in rewriteARMExIdxSection() 765 addExtraRelocation(reloc); in rewriteARMExIdxSection() 779 Relocation* reloc = in rewriteARMExIdxSection() local 783 reloc->setSymInfo(CreateLocalSymbolToFragmentEnd(pModule, *prevTextFrag)); in rewriteARMExIdxSection() 784 addExtraRelocation(reloc); in rewriteARMExIdxSection() 830 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in doRelax() local 831 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in doRelax() [all …]
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.cpp | 786 Relocation* reloc = in convertTLSIEtoLE() local 792 reloc->setSymInfo(pReloc.symInfo()); in convertTLSIEtoLE() 795 uint8_t* op = (reinterpret_cast<uint8_t*>(&reloc->target())); in convertTLSIEtoLE() 800 reloc = Relocation::Create( in convertTLSIEtoLE() 805 reloc->setSymInfo(pReloc.symInfo()); in convertTLSIEtoLE() 806 op = (reinterpret_cast<uint8_t*>(&reloc->target())); in convertTLSIEtoLE() 825 assert(reloc != NULL); in convertTLSIEtoLE() 827 RelocData::iterator(pReloc), reloc); in convertTLSIEtoLE() 1302 Relocation& reloc = helper_DynRel_init(rsym, in scanLocalReloc() local 1307 getRelRelMap().record(pReloc, reloc); in scanLocalReloc() [all …]
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | TargetLDBackend.h | 206 void addExtraRelocation(Relocation* reloc) { in addExtraRelocation() argument 207 m_ExtraReloc.push_back(reloc); in addExtraRelocation()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 558 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); in doRelax() local 559 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) { in doRelax() 560 switch (reloc->type()) { in doRelax() 566 Relocation* relocation = llvm::cast<Relocation>(reloc); in doRelax()
|
D | HexagonRelocator.cpp | 265 Relocation& reloc = helper_DynRel_init(rsym, in scanLocalReloc() local 273 getRelRelMap().record(pReloc, reloc); in scanLocalReloc() 328 Relocation& reloc = helper_DynRel_init(rsym, in scanGlobalReloc() local 336 getRelRelMap().record(pReloc, reloc); in scanGlobalReloc()
|
/frameworks/compile/mclinker/lib/LD/ |
D | GarbageCollection.cpp | 151 Relocation* reloc = llvm::cast<Relocation>(reloc_it); in setUpReachedSections() local 152 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSections()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsLDBackend.cpp | 815 for (RelocData::iterator reloc = sec->getRelocData()->begin(); in doRelax() local 816 reloc != sec->getRelocData()->end(); in doRelax() 817 ++reloc) { in doRelax() 818 if (llvm::ELF::R_MIPS_26 != reloc->type()) in doRelax() 821 if (relaxRelocation(pBuilder, *llvm::cast<Relocation>(reloc))) in doRelax()
|
D | MipsGOT.h | 50 int reloc,
|
D | MipsGOT.cpp | 240 int reloc, in reserveLocalEntry() argument 242 LocalEntry entry(&pInfo, pAddend, reloc == llvm::ELF::R_MIPS_GOT16); in reserveLocalEntry()
|