Searched defs:reloc (Results 1 - 10 of 10) sorted by relevance

/frameworks/compile/mclinker/lib/Target/
H A DOutputRelocSection.cpp39 Relocation* reloc = Relocation::Create(); local
40 m_pRelocData->append(*reloc);
41 return reloc;
/frameworks/compile/mclinker/lib/LD/
H A DStubFactory.cpp100 Relocation* reloc = local
104 reloc->setSymInfo(pReloc.symInfo());
105 islands.first->addRelocation(*reloc);
111 // reset the branch target of the input reloc to this stub instead!
H A DGarbageCollection.cpp145 // 2. it has no reloc data. (All symbols in the input relocs are in the
162 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local
163 ResolveInfo* sym = reloc->symInfo();
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64Relocator.cpp170 Relocation& reloc = helper_DynRela_init(rsym, local
175 getRelRelMap().record(pReloc, reloc);
186 Relocation& reloc = helper_DynRela_init(rsym, local
189 getRelRelMap().record(pReloc, reloc);
255 Relocation& reloc = helper_DynRela_init(rsym, local
260 getRelRelMap().record(pReloc, reloc);
263 Relocation& reloc = helper_DynRela_init(rsym, local
268 getRelRelMap().record(pReloc, reloc);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp238 bool MipsGOT::reserveLocalEntry(ResolveInfo& pInfo, int reloc, argument
241 LocalEntry entry(&pInfo, pAddend, reloc == llvm::ELF::R_MIPS_GOT16);
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp552 // bypass the reloc section if
555 // 2. it has no reloc data. (All symbols in the input relocs are in the
559 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local
560 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) {
561 Relocation* relocation = llvm::cast<Relocation>(reloc);
563 // bypass the reloc if the symbol is in the discarded input section
749 // bypass the reloc section if
752 // 2. it has no reloc dat
756 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local
823 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local
854 Relocation* reloc = *iter; local
873 Relocation* reloc = llvm::cast<Relocation>(relocIter); local
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp453 // 2. it has no reloc data. (All symbols in the input relocs are in the
468 Relocation* reloc = llvm::cast<Relocation>(reloc_it); local
469 ResolveInfo* sym = reloc->symInfo();
621 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local
622 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) {
623 Relocation* relocation = llvm::cast<Relocation>(reloc);
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonRelocator.cpp259 Relocation &reloc = helper_DynRel_init(rsym, local
266 getRelRelMap().record(pReloc, reloc);
320 Relocation &reloc = helper_DynRel_init(rsym, local
327 getRelRelMap().record(pReloc, reloc);
H A DHexagonLDBackend.cpp590 RelocData::iterator reloc, rEnd = (*rs)->getRelocData()->end(); local
591 for (reloc = (*rs)->getRelocData()->begin(); reloc != rEnd; ++reloc) {
592 switch (reloc->type()) {
598 Relocation* relocation = llvm::cast<Relocation>(reloc);
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86Relocator.cpp806 // Allocate 2 got entries and 1 dynamic reloc for R_386_TLS_LDM
823 Relocation* reloc = local
829 reloc->setSymInfo(pReloc.symInfo());
832 uint8_t* op = (reinterpret_cast<uint8_t*>(&reloc->target()));
836 // create the new reloc (move 1 byte forward).
837 reloc = Relocation::Create(X86_32Relocator::R_386_TLS_OPT,
841 reloc->setSymInfo(pReloc.symInfo());
842 op = (reinterpret_cast<uint8_t*>(&reloc->target()));
860 // 3. insert the new relocs "BEFORE" the original reloc.
861 assert(reloc !
863 RelocData::iterator(pReloc), reloc); local
1365 Relocation& reloc = helper_DynRel_init(rsym, local
1385 Relocation& reloc = helper_DynRel_init(rsym, local
1467 Relocation& reloc = helper_DynRel_init(rsym, local
1475 Relocation& reloc = helper_DynRel_init(rsym, local
[all...]

Completed in 335 milliseconds