Searched refs:relocation (Results 1 - 8 of 8) sorted by relevance

/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/include/mcld/Object/
H A DObjectLinker.h58 /// readRelocations - read all relocation entries
91 /// scanRelocations - scan all relocation entries by output symbols.
110 /// relocate - applying relocation entries and create relocation
112 /// Create relocation section, asking TargetLDBackend to
113 /// read the relocation information into RelocationEntry
114 /// and push_back into the relocation section
115 bool relocation();
149 /// normalSyncRelocationResult - sync relocation result when producing shared
153 /// partialSyncRelocationResult - sync relocation resul
[all...]
/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64LDBackend.cpp219 "static linkage should not result in a dynamic relocation section");
228 "static linkage should not result in a dynamic relocation section");
385 Relocation* relocation = llvm::cast<Relocation>(reloc); local
387 switch (relocation->type()) {
392 LDSymbol* symbol = relocation->symInfo()->outSymbol();
399 if ((relocation->symInfo()->reserved() &
406 Stub* stub = getStubFactory()->create(*relocation, // relocation
414 relocation->setSymInfo(stub->symInfo());
426 } // for all relocation sectio
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp309 "static linkage should not result in a dynamic relocation section");
318 "static linkage should not result in a dynamic relocation section");
558 // traverse all the input relocations to find the relocation sections applying
565 // bypass the discarded relocation section
832 Relocation* relocation = llvm::cast<Relocation>(reloc); local
834 switch (relocation->type()) {
845 LDSymbol* symbol = relocation->symInfo()->outSymbol();
852 if ((relocation->symInfo()->reserved() &
859 Stub* stub = getStubFactory()->create(*relocation, // relocation
[all...]
/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;
H A DLinker.cpp169 // 6. - read all relocation entries from input files
170 // For all relocation sections of each input file (in the tree),
210 // 11. - scan all relocation entries by output symbols.
235 m_pObjLinker->relocation();
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp103 "static linkage should not result in a dynamic relocation section");
110 "static linkage should not result in a dynamic relocation section");
566 Relocation* relocation = llvm::cast<Relocation>(reloc); local
568 LDSymbol* symbol = relocation->symInfo()->outSymbol();
575 Stub* stub = getStubFactory()->create(*relocation, // relocation
582 relocation->setSymInfo(stub->symInfo());

Completed in 1262 milliseconds