Searched defs:relocation (Results 1 - 6 of 6) sorted by relevance
/frameworks/compile/mclinker/lib/Fragment/ |
H A D | FragmentLinker.cpp | 95 // 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/Object/ |
H A D | ObjectLinker.cpp | 220 /// 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/LD/ |
H A D | ELFObjectWriter.cpp | 424 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/lib/Target/ARM/ |
H A D | ARMLDBackend.cpp | 227 "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/Core/ |
H A D | IRBuilder.cpp | 333 /// 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;
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
H A D | HexagonLDBackend.cpp | 99 "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 1198 milliseconds