/frameworks/compile/mclinker/include/mcld/Fragment/ |
H A D | Stub.h | 67 /// isMyDuty - return true when the pReloc is problematic and the stub is able 69 virtual bool isMyDuty(const class Relocation& pReloc,
|
/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | BranchIsland.h | 92 Stub* findStub(const Stub* pPrototype, const Relocation& pReloc); 95 bool addStub(const Stub* pPrototype, const Relocation& pReloc, Stub& pStub); 98 bool addRelocation(Relocation& pReloc);
|
H A D | EhFrame.h | 101 void setRelocation(const Relocation& pReloc) { m_pReloc = &pReloc; } argument
|
H A D | IdenticalCodeFolding.h | 40 FoldingCandidate(LDSection* pCode, LDSection* pReloc, Input* pInput) argument 41 : sect(pCode), reloc_sect(pReloc), obj(pInput)
|
H A D | Relocator.h | 58 /// @param pReloc - a read in relocation entry 62 virtual void scanRelocation(Relocation& pReloc, 70 /// @param pReloc - a read in relocation entry 73 virtual void issueUndefRef(Relocation& pReloc, 100 /// @param pReloc - a read in relocation entry 103 virtual void partialScanRelocation(Relocation& pReloc, 122 virtual bool mayHaveFunctionPointerAccess(const Relocation& pReloc) const
|
H A D | StubFactory.h | 35 Stub* create(Relocation& pReloc, 43 Stub* findPrototype(const Relocation& pReloc,
|
/frameworks/compile/mclinker/include/mcld/Object/ |
H A D | ObjectLinker.h | 161 void writeRelocationResult(Relocation& pReloc, uint8_t* pOutput);
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | GNULDBackend.h | 254 bool symbolNeedsCopyReloc(const Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | BranchIsland.cpp | 98 Stub* BranchIsland::findStub(const Stub* pPrototype, const Relocation& pReloc) argument 100 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend()); 111 const Relocation& pReloc, 115 Key key(pPrototype, pReloc.symInfo()->outSymbol(), pReloc.addend()); 143 bool BranchIsland::addRelocation(Relocation& pReloc) argument 145 m_Relocations.push_back(&pReloc); 110 addStub(const Stub* pPrototype, const Relocation& pReloc, Stub& pStub) argument
|
H A D | Relocator.cpp | 30 void Relocator::partialScanRelocation(Relocation& pReloc, argument 35 if (pReloc.symInfo()->type() == ResolveInfo::Section) { 36 LDSymbol* input_sym = pReloc.symInfo()->outSymbol(); 41 pReloc.target() += offset; 50 pReloc.setSymInfo(sym_info); 54 void Relocator::issueUndefRef(Relocation& pReloc, argument 58 FragmentRef::Offset undef_sym_pos = pReloc.targetRef().offset(); 62 std::string reloc_sym(pReloc.symInfo()->name());
|
H A D | StubFactory.cpp | 39 Stub* StubFactory::create(Relocation& pReloc, argument 46 Stub* prototype = findPrototype(pReloc, pReloc.place(), pTargetSymValue); 48 const Fragment* frag = pReloc.targetRef().frag(); 59 stub = islands.second->findStub(prototype, pReloc); 64 pReloc.setSymInfo(stub->symInfo()); 67 stub = islands.first->findStub(prototype, pReloc); 70 pReloc.setSymInfo(stub->symInfo()); 77 name.append(pReloc.symInfo()->name()) 104 reloc->setSymInfo(pReloc 121 findPrototype(const Relocation& pReloc, uint64_t pSource, uint64_t pTargetSymValue) argument [all...] |
/frameworks/compile/mclinker/lib/Object/ |
H A D | ObjectLinker.cpp | 888 void ObjectLinker::writeRelocationResult(Relocation& pReloc, uint8_t* pOutput) argument 892 pReloc.targetRef().frag()->getParent()->getSection().offset() + 893 pReloc.targetRef().getOutputOffset(); 900 switch(pReloc.size(*m_LDBackend.getRelocator())) { 902 std::memcpy(target_addr, &pReloc.target(), 1); 906 tmp_data = mcld::bswap16(pReloc.target()); 911 tmp_data = mcld::bswap32(pReloc.target()); 916 tmp_data = mcld::bswap64(pReloc.target()); 925 std::memcpy(target_addr, &pReloc.target(), 926 pReloc [all...] |
/frameworks/compile/mclinker/lib/Target/AArch64/ |
H A D | AArch64RelocationHelpers.h | 105 helper_PLT_init(Relocation& pReloc, AArch64Relocator& pParent) argument 108 ResolveInfo* rsym = pReloc.symInfo(); 179 helper_GOT_init(Relocation& pReloc, bool pHasRel, AArch64Relocator& pParent) argument 182 ResolveInfo* rsym = pReloc.symInfo(); 201 pParent.getRelRelMap().record(pReloc, rel_entry);
|
H A D | AArch64Relocator.cpp | 34 typedef Relocator::Result (*ApplyFunctionType)(Relocation& pReloc, 156 AArch64Relocator::scanLocalReloc(Relocation& pReloc, const LDSection& pSection) argument 159 ResolveInfo* rsym = pReloc.symInfo(); 160 switch(pReloc.type()) { 171 *pReloc.targetRef().frag(), 172 pReloc.targetRef().offset(), 175 getRelRelMap().record(pReloc, reloc); 187 *pReloc.targetRef().frag(), 188 pReloc.targetRef().offset(), pReloc 218 scanGlobalReloc(Relocation& pReloc, IRBuilder& pBuilder, const LDSection& pSection) argument 377 scanRelocation(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection, Input& pInput) argument 413 none(Relocation& pReloc, AArch64Relocator& pParent) argument 418 unsupport(Relocation& pReloc, AArch64Relocator& pParent) argument 426 abs(Relocation& pReloc, AArch64Relocator& pParent) argument 474 rel(Relocation& pReloc, AArch64Relocator& pParent) argument 508 add_abs_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument 523 adr_prel_pg_hi21(Relocation& pReloc, AArch64Relocator& pParent) argument 543 call(Relocation& pReloc, AArch64Relocator& pParent) argument 574 condbr(Relocation& pReloc, AArch64Relocator& pParent) argument 605 adr_got_page(Relocation& pReloc, AArch64Relocator& pParent) argument 632 ld64_got_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument 663 ldst_abs_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument [all...] |
H A D | AArch64Relocator.h | 114 void scanRelocation(Relocation& pReloc, 121 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection); 123 void scanGlobalReloc(Relocation& pReloc,
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMRelocator.cpp | 28 static Relocator::DWord getThumbBit(const Relocation& pReloc) argument 33 ((!pReloc.symInfo()->isUndef() || pReloc.symInfo()->isDyn()) && 34 (pReloc.symInfo()->type() == ResolveInfo::Function) && 35 ((pReloc.symValue() & 0x1) != 0))? 91 ARMGOTEntry& helper_GOT_init(Relocation& pReloc, argument 96 ResolveInfo* rsym = pReloc.symInfo(); 143 ARMPLT1& helper_PLT_init(Relocation& pReloc, ARMRelocator& pParent) argument 146 ResolveInfo* rsym = pReloc.symInfo(); 168 // its FragmentRef to pReloc 171 helper_DynRel_init(Relocation& pReloc, Relocator::Type pType, ARMRelocator& pParent) argument 487 scanLocalReloc(Relocation& pReloc, const LDSection& pSection) argument 582 scanGlobalReloc(Relocation& pReloc, IRBuilder& pBuilder, const LDSection& pSection) argument 795 scanRelocation(Relocation& pReloc, IRBuilder& pBuilder, Module& pModule, LDSection& pSection, Input& pInput) argument 833 none(Relocation& pReloc, ARMRelocator& pParent) argument 839 abs32(Relocation& pReloc, ARMRelocator& pParent) argument 876 rel32(Relocation& pReloc, ARMRelocator& pParent) argument 901 base_prel(Relocation& pReloc, ARMRelocator& pParent) argument 910 gotoff32(Relocation& pReloc, ARMRelocator& pParent) argument 924 got_brel(Relocation& pReloc, ARMRelocator& pParent) argument 943 got_prel(Relocation& pReloc, ARMRelocator& pParent) argument 963 thm_jump8(Relocation& pReloc, ARMRelocator& pParent) argument 982 thm_jump11(Relocation& pReloc, ARMRelocator& pParent) argument 1001 thm_jump19(Relocation& pReloc, ARMRelocator& pParent) argument 1046 call(Relocation& pReloc, ARMRelocator& pParent) argument 1102 thm_call(Relocation& pReloc, ARMRelocator& pParent) argument 1174 movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument 1204 movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument 1224 movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument 1250 movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument 1264 thm_movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument 1299 thm_movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument 1324 thm_movw_brel(Relocation& pReloc, ARMRelocator& pParent) argument 1349 thm_movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument 1386 thm_movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument 1408 prel31(Relocation& pReloc, ARMRelocator& pParent) argument 1434 tls(Relocation& pReloc, ARMRelocator& pParent) argument 1439 unsupport(Relocation& pReloc, ARMRelocator& pParent) argument [all...] |
H A D | ARMRelocator.h | 95 void scanRelocation(Relocation& pReloc, 104 virtual bool mayHaveFunctionPointerAccess(const Relocation& pReloc) const; 107 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection); 109 void scanGlobalReloc(Relocation& pReloc, 113 void checkValidReloc(Relocation& pReloc) const;
|
H A D | ARMToARMStub.cpp | 64 bool ARMToARMStub::isMyDuty(const class Relocation& pReloc, argument 71 switch (pReloc.type()) { 77 uint64_t dest = pTargetSymValue + pReloc.addend() + 8u;
|
H A D | ARMToARMStub.h | 36 bool isMyDuty(const class Relocation& pReloc,
|
H A D | ARMToTHMStub.cpp | 66 bool ARMToTHMStub::isMyDuty(const class Relocation& pReloc, argument 73 switch (pReloc.type()) { 77 uint64_t dest = pTargetSymValue + pReloc.addend() + 8u;
|
H A D | ARMToTHMStub.h | 36 bool isMyDuty(const class Relocation& pReloc,
|
H A D | THMToARMStub.cpp | 72 bool THMToARMStub::isMyDuty(const class Relocation& pReloc, argument 79 switch (pReloc.type()) { 83 uint64_t dest = pTargetSymValue + pReloc.addend() + 4u;
|
H A D | THMToARMStub.h | 35 bool isMyDuty(const class Relocation& pReloc,
|
H A D | THMToTHMStub.cpp | 74 bool THMToTHMStub::isMyDuty(const class Relocation& pReloc, argument 81 switch (pReloc.type()) { 85 uint64_t dest = pTargetSymValue + pReloc.addend() + 4u;
|
H A D | THMToTHMStub.h | 35 bool isMyDuty(const class Relocation& pReloc,
|