Searched defs:relocation (Results 1 - 6 of 6) sorted by relevance
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64LDBackend.cpp | 219 "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/Core/ |
H A D | IRBuilder.cpp | 292 /// 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 D | ELFObjectWriter.cpp | 103 // 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 D | ObjectLinker.cpp | 283 /// 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 D | ARMLDBackend.cpp | 309 "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/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 103 "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 1568 milliseconds