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

/frameworks/compile/mclinker/lib/Fragment/
H A DFragmentLinker.cpp95 // when producing relocatables, no need to apply relocation
114 Relocation* relocation = llvm::cast<Relocation>(reloc); local
115 relocation->apply(*m_Backend.getRelocator());
117 } // for all relocation section
163 Relocation* relocation = llvm::cast<Relocation>(reloc); local
165 // bypass the relocation with NONE type. This is to avoid overwrite the
166 // target result by NONE type relocation if there is a place which has
168 // we want is the value of the other relocation result. For example,
171 if (0x0 == relocation->type())
173 writeRelocationResult(*relocation, dat
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp424 llvm::report_fatal_error("unsupported relocation section type!");
440 const Relocation* relocation = 0; local
446 relocation = &(llvm::cast<Relocation>(*it));
447 frag_ref = &(relocation->targetRef());
459 if( relocation->symInfo() == NULL )
463 target().getSymbolIdx(relocation->symInfo()->outSymbol()));
465 rel->setSymbolAndType(Index, relocation->type());
481 const Relocation* relocation = 0; local
487 relocation = &(llvm::cast<Relocation>(*it));
488 frag_ref = &(relocation
[all...]
/frameworks/compile/mclinker/include/mcld/Object/
H A DObjectLinker.h69 /// readRelocations - read all relocation entries
95 /// scanRelocations - scan all relocation entries by output symbols.
114 /// relocate - applying relocation entries and create relocation
116 /// Create relocation section, asking TargetLDBackend to
117 /// read the relocation information into RelocationEntry
118 /// and push_back into the relocation section
119 bool relocation();
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp227 "static linkage should not result in a dynamic relocation section");
235 "static linkage should not result in a dynamic relocation section");
531 Relocation* relocation = llvm::cast<Relocation>(reloc); local
533 switch (relocation->type()) {
545 LDSymbol* symbol = relocation->symInfo()->outSymbol();
552 if (relocation->symInfo()->isGlobal() &&
553 (relocation->symInfo()->reserved() & ARMRelocator::ReservePLT) != 0x0) {
559 Stub* stub = getStubFactory()->create(*relocation, // relocation
586 } // for all relocation sectio
[all...]
/frameworks/compile/mclinker/lib/Object/
H A DObjectLinker.cpp220 /// readRelocations - read all relocation entries
225 // Bitcode is read by the other path. This function reads relocation sections
389 Relocation* relocation = llvm::cast<Relocation>(reloc); local
390 // scan relocation
393 *relocation, *m_pBuilder, *m_pModule, **rs);
396 *relocation, *m_pModule, **rs);
398 } // for all relocation section
507 /// relocate - applying relocation entries and create relocation
509 /// Create relocation sectio
512 bool ObjectLinker::relocation() function in class:ObjectLinker
[all...]
/frameworks/compile/mclinker/lib/Core/
H A DIRBuilder.cpp333 /// CreateRelocData - To create a relocation data for given pSection.
336 assert(!pSection.hasRelocData() && "pSection already has relocation data.");
411 /// AppendRelocation - To append an relocation to the given RelocData pRD.
667 /// AddRelocation - add a relocation entry
678 // discard this relocation.
687 Relocation* relocation = Relocation::Create(pType, *frag_ref, pAddend); local
689 relocation->setSymInfo(resolve_info);
690 pSection.getRelocData()->append(*relocation);
692 return relocation;
H A DLinker.cpp167 // 6. - read all relocation entries from input files
168 // For all relocation sections of each input file (in the tree),
202 // 10. - scan all relocation entries by output symbols.
227 m_pObjLinker->relocation();
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp99 "static linkage should not result in a dynamic relocation section");
105 "static linkage should not result in a dynamic relocation section");
588 Relocation* relocation = llvm::cast<Relocation>(reloc); local
590 LDSymbol* symbol = relocation->symInfo()->outSymbol();
597 Stub* stub = getStubFactory()->create(*relocation, // relocation

Completed in 435 milliseconds