Searched defs:relocation (Results 1 - 5 of 5) sorted by relevance
/frameworks/compile/mclinker/lib/Core/ |
H A D | IRBuilder.cpp | 302 /// CreateRelocData - To create a relocation data for given pSection. 305 assert(!pSection.hasRelocData() && "pSection already has relocation data."); 373 /// AppendRelocation - To append an relocation to the given RelocData pRD. 594 /// AddRelocation - add a relocation entry 605 Relocation* relocation = Relocation::Create(pType, *frag_ref, pAddend); local 607 relocation->setSymInfo(pSym.resolveInfo()); 608 pSection.getRelocData()->append(*relocation); 610 return relocation;
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFObjectWriter.cpp | 108 // sort relocation for the benefit of the dynamic linker. 482 llvm::report_fatal_error("unsupported relocation section type!"); 498 const Relocation* relocation = 0; local 506 relocation = &(llvm::cast<Relocation>(*it)); 507 frag_ref = &(relocation->targetRef()); 519 if( relocation->symInfo() == NULL ) 523 target().getSymbolIdx(relocation->symInfo()->outSymbol())); 525 target().emitRelocation(*rel, relocation->type(), r_sym, r_offset); 541 const Relocation* relocation = 0; local 549 relocation [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 284 /// readRelocations - read all relocation entries 289 // Bitcode is read by the other path. This function reads relocation sections 561 Relocation* relocation = llvm::cast<Relocation>(reloc); local 564 ResolveInfo* info = relocation->symInfo(); 570 // scan relocation 573 *relocation, *m_pBuilder, *m_pModule, **rs, **input); 576 *relocation, *m_pModule, **rs); 578 } // for all relocation section 732 /// relocate - applying relocation entries and create relocation 737 bool ObjectLinker::relocation() function in class:ObjectLinker 758 Relocation* relocation = llvm::cast<Relocation>(reloc); local 825 Relocation* relocation = llvm::cast<Relocation>(reloc); local [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 248 "static linkage should not result in a dynamic relocation section"); 256 "static linkage should not result in a dynamic relocation section"); 443 // traverse all the input relocations to find the relocation sections applying 450 // bypass the discarded relocation section 623 Relocation* relocation = llvm::cast<Relocation>(reloc); local 625 switch (relocation->type()) { 636 LDSymbol* symbol = relocation->symInfo()->outSymbol(); 643 if (relocation->symInfo()->isGlobal() && 644 (relocation->symInfo()->reserved() & ARMRelocator::ReservePLT) != 0x0) { 650 Stub* stub = getStubFactory()->create(*relocation, // relocatio [all...] |
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 106 "static linkage should not result in a dynamic relocation section"); 112 "static linkage should not result in a dynamic relocation section"); 598 Relocation* relocation = llvm::cast<Relocation>(reloc); local 600 LDSymbol* symbol = relocation->symInfo()->outSymbol(); 607 Stub* stub = getStubFactory()->create(*relocation, // relocation
|
Completed in 246 milliseconds