Home
last modified time | relevance | path

Searched refs:reloc (Results 1 – 15 of 15) sorted by relevance

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64CA53ErratumStub.cpp105 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()
DAArch64LDBackend.cpp340 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()
DAArch64Relocator.cpp165 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/
DObjectLinker.cpp595 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/
DOutputRelocSection.cpp38 Relocation* reloc = Relocation::Create(); in create() local
39 m_pRelocData->append(*reloc); in create()
40 return reloc; in create()
/frameworks/compile/mclinker/lib/Fragment/
DStub.cpp58 Relocation* reloc = in applyFixup() local
62 reloc->setSymInfo(pSrcReloc.symInfo()); in applyFixup()
63 pIsland.addRelocation(*reloc); in applyFixup()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp583 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/
DX86Relocator.cpp786 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/
DTargetLDBackend.h206 void addExtraRelocation(Relocation* reloc) { in addExtraRelocation() argument
207 m_ExtraReloc.push_back(reloc); in addExtraRelocation()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp558 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()
DHexagonRelocator.cpp265 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/
DGarbageCollection.cpp151 Relocation* reloc = llvm::cast<Relocation>(reloc_it); in setUpReachedSections() local
152 ResolveInfo* sym = reloc->symInfo(); in setUpReachedSections()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsLDBackend.cpp815 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()
DMipsGOT.h50 int reloc,
DMipsGOT.cpp240 int reloc, in reserveLocalEntry() argument
242 LocalEntry entry(&pInfo, pAddend, reloc == llvm::ELF::R_MIPS_GOT16); in reserveLocalEntry()