Searched defs:relocation (Results 1 - 5 of 5) sorted by relevance

/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp292 /// CreateRelocData - To create a relocation data for given pSection.
294 assert(!pSection.hasRelocData() && "pSection already has relocation data.");
368 /// AppendRelocation - To append an relocation to the given RelocData pRD.
586 /// AddRelocation - add a relocation entry
596 Relocation* relocation = Relocation::Create(pType, *frag_ref, pAddend); local
598 relocation->setSymInfo(pSym.resolveInfo());
599 pSection.getRelocData()->append(*relocation);
601 return relocation;
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp103 // sort relocation for the benefit of the dynamic linker.
473 llvm::report_fatal_error("unsupported relocation section type!");
487 const Relocation* relocation = 0; local
496 relocation = &(llvm::cast<Relocation>(*it));
497 frag_ref = &(relocation->targetRef());
508 if (relocation->symInfo() == NULL)
512 target().getSymbolIdx(relocation->symInfo()->outSymbol()));
514 target().emitRelocation(*rel, relocation->type(), r_sym, r_offset);
529 const Relocation* relocation = 0; local
538 relocation
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp283 /// readRelocations - read all relocation entries
287 // Bitcode is read by the other path. This function reads relocation sections
597 Relocation* relocation = llvm::cast<Relocation>(reloc); local
600 ResolveInfo* info = relocation->symInfo();
606 // scan relocation
609 *relocation, *m_pBuilder, *m_pModule, **rs, **input);
612 *relocation, *m_pModule);
615 } // for all relocation section
774 /// relocate - applying relocation entries and create relocation
779 bool ObjectLinker::relocation() { function in class:mcld::ObjectLinker
801 Relocation* relocation = llvm::cast<Relocation>(reloc); local
885 Relocation* relocation = llvm::cast<Relocation>(reloc); local
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp241 "static linkage should not result in a dynamic relocation section");
250 "static linkage should not result in a dynamic relocation section");
487 // traverse all the input relocations to find the relocation sections applying
494 // bypass the discarded relocation section
663 Relocation* relocation = llvm::cast<Relocation>(reloc); local
665 switch (relocation->type()) {
676 LDSymbol* symbol = relocation->symInfo()->outSymbol();
683 if ((relocation->symInfo()->reserved() &
690 Stub* stub = getStubFactory()->create(*relocation, // relocation
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp102 "static linkage should not result in a dynamic relocation section");
109 "static linkage should not result in a dynamic relocation section");
565 Relocation* relocation = llvm::cast<Relocation>(reloc); local
567 LDSymbol* symbol = relocation->symInfo()->outSymbol();
574 Stub* stub = getStubFactory()->create(*relocation, // relocation

Completed in 148 milliseconds