/frameworks/compile/mclinker/lib/Fragment/ |
D | FragmentRef.cpp | 27 typedef GCFactory<FragmentRef, MCLD_SECTIONS_PER_INPUT> FragRefFactory; 31 FragmentRef FragmentRef::g_NullFragmentRef; 36 FragmentRef::FragmentRef() : m_pFragment(NULL), m_Offset(0) { in FragmentRef() function in mcld::FragmentRef 39 FragmentRef::FragmentRef(Fragment& pFrag, FragmentRef::Offset pOffset) in FragmentRef() function in mcld::FragmentRef 50 FragmentRef* FragmentRef::Create(Fragment& pFrag, uint64_t pOffset) { in Create() 70 FragmentRef* result = g_FragRefFactory->allocate(); in Create() 71 new (result) FragmentRef(*frag, offset); in Create() 76 FragmentRef* FragmentRef::Create(LDSection& pSection, uint64_t pOffset) { in Create() 98 void FragmentRef::Clear() { in Clear() 102 FragmentRef* FragmentRef::Null() { in Null() [all …]
|
D | Stub.cpp | 52 FragmentRef::Create(*this, initSymValue()), in applyFixup() 60 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup() 67 void Stub::applyFixup(FragmentRef& pSrcFragRef, in applyFixup()
|
D | Relocation.cpp | 48 FragmentRef& pFragRef, in Create() 67 FragmentRef* pTargetRef, in Relocation() 89 const FragmentRef* fragRef = m_pSymInfo->outSymbol()->fragRef(); in symValue()
|
/frameworks/compile/mclinker/include/mcld/Fragment/ |
D | FragmentRef.h | 27 class FragmentRef { 41 static FragmentRef* Create(Fragment& pFrag, uint64_t pOffset); 43 static FragmentRef* Create(LDSection& pSection, uint64_t pOffset); 48 static FragmentRef* Null(); 51 FragmentRef& assign(const FragmentRef& pCopy); 53 FragmentRef& assign(Fragment& pFrag, Offset pOffset = 0); 75 friend FragmentRef& NullFragmentRef(); 76 friend class Chunk<FragmentRef, MCLD_SECTIONS_PER_INPUT>; 79 FragmentRef(); 81 explicit FragmentRef(Fragment& pFrag, Offset pOffset = 0); [all …]
|
D | Relocation.h | 41 FragmentRef* pTargetRef, 62 FragmentRef& pFragRef, 92 const FragmentRef& targetRef() const { return m_TargetAddress; } in targetRef() 93 FragmentRef& targetRef() { return m_TargetAddress; } in targetRef() 119 FragmentRef m_TargetAddress;
|
/frameworks/compile/mclinker/lib/LD/ |
D | ELFReaderIf.cpp | 95 FragmentRef* ELFReaderIF::getSymFragmentRef(Input& pInput, in getSymFragmentRef() 99 return FragmentRef::Null(); in getSymFragmentRef() 102 return FragmentRef::Null(); in getSymFragmentRef() 105 return FragmentRef::Null(); in getSymFragmentRef() 114 return FragmentRef::Null(); in getSymFragmentRef() 117 return FragmentRef::Null(); in getSymFragmentRef() 119 return FragmentRef::Create(*sect_hdr, pOffset); in getSymFragmentRef()
|
D | SectionSymbolSet.cpp | 84 FragmentRef* frag_ref; in finalize() 86 frag_ref = FragmentRef::Create(data->front(), 0x0); in finalize() 88 frag_ref = FragmentRef::Null(); in finalize()
|
D | LDSymbol.cpp | 71 g_NullSymbol->setFragmentRef(FragmentRef::Create(*g_NullSymbolFragment, 0)); in Null() 77 void LDSymbol::setFragmentRef(FragmentRef* pFragmentRef) { in setFragmentRef()
|
/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64CA53ErratumStub.cpp | 65 bool AArch64CA53ErratumStub::isMyDuty(const FragmentRef& pFragRef) const { in isMyDuty() 69 void AArch64CA53ErratumStub::applyFixup(FragmentRef& pSrcFragRef, in applyFixup() 90 FragmentRef::Create(*this, initSymValue()), in applyFixup() 96 FragmentRef* target = FragmentRef::Create(*pSrcFragRef.frag(), in applyFixup() 107 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup() 120 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup()
|
D | AArch64CA53ErratumStub.h | 21 class FragmentRef; variable 36 bool isMyDuty(const FragmentRef& pFragRef) const; 38 void applyFixup(FragmentRef& pSrcFragRef,
|
D | AArch64CA53Erratum835769Stub.h | 21 class FragmentRef; variable 36 bool isMyDuty(const FragmentRef& pFragRef) const;
|
D | AArch64CA53Erratum843419Stub2.h | 21 class FragmentRef; variable 36 bool isMyDuty(const FragmentRef& pFragRef) const;
|
D | AArch64CA53Erratum843419Stub.h | 21 class FragmentRef; variable 41 bool isMyDuty(const FragmentRef& pFragRef) const;
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDSymbol.h | 28 class FragmentRef; variable 103 const FragmentRef* fragRef() const { return m_pFragRef; } in fragRef() 104 FragmentRef* fragRef() { return m_pFragRef; } in fragRef() 121 void setFragmentRef(FragmentRef* pFragmentRef); 137 FragmentRef* m_pFragRef;
|
D | StubFactory.h | 20 class FragmentRef; variable 41 Stub* create(FragmentRef& pFragRef, 52 Stub* findPrototype(const FragmentRef& pFragRef) const;
|
D | RelocationFactory.h | 17 class FragmentRef; variable 43 Relocation* produce(Type pType, FragmentRef& pFragRef, Address pAddend = 0);
|
D | ELFReaderIf.h | 23 class FragmentRef; variable 110 FragmentRef* getSymFragmentRef(Input& pInput,
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 357 ResolveInfo* CreateLocalSymbol(FragmentRef& pFragRef); 438 FragmentRef * pFragmentRef = FragmentRef::Null(), 467 FragmentRef* pFragmentRef, 494 FragmentRef* pFragmentRef, 505 FragmentRef* pFragmentRef, 516 FragmentRef* pFragmentRef, 527 FragmentRef* pFragmentRef,
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 333 FragmentRef::Create(pFrag, 0x0), in defineGOTSymbol() 343 FragmentRef::Create(pFrag, 0x0), in defineGOTSymbol() 487 FragmentRef::Null(), in initTargetSymbols() 497 FragmentRef::Null(), in initTargetSymbols() 507 FragmentRef::Null(), in initTargetSymbols() 517 FragmentRef::Null(), in initTargetSymbols() 799 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 806 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 813 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() 820 (*com_sym)->setFragmentRef(FragmentRef::Create(*frag, 0)); in allocateCommonSymbols() [all …]
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.h | 147 virtual void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym) = 0; 156 void setupRelDynEntry(FragmentRef& pFragRef, ResolveInfo* pSym, 206 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym); 221 void setupRel32DynEntry(FragmentRef& pFragRef, ResolveInfo* pSym);
|
D | MipsRelocator.cpp | 519 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 541 FragmentRef::Create(*frag, 0x0), in defineSymbolforCopyReloc() 617 setupRel32DynEntry(*FragmentRef::Create(*got_entry, 0), NULL); in getLocalGOTEntry() 644 setupRel32DynEntry(*FragmentRef::Create(*got_entry, 0), rsym); in getGlobalGOTEntry() 747 void MipsRelocator::setupRelDynEntry(FragmentRef& pFragRef, ResolveInfo* pSym, in setupRelDynEntry() 763 void Mips32Relocator::setupRel32DynEntry(FragmentRef& pFragRef, in setupRel32DynEntry() 772 FragmentRef& modFrag = *FragmentRef::Create(pFrag, 0); in setupTLSDynEntry() 774 FragmentRef& relFrag = *FragmentRef::Create(*pFrag.getNextNode(), 0); in setupTLSDynEntry() 777 FragmentRef& modFrag = *FragmentRef::Create(pFrag, 0); in setupTLSDynEntry() 780 FragmentRef& modFrag = *FragmentRef::Create(pFrag, 0); in setupTLSDynEntry() [all …]
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 428 FragmentRef* frag = NULL; in AddSymbol() 433 frag = FragmentRef::Null(); in AddSymbol() 435 frag = FragmentRef::Create(*pSection, pValue); in AddSymbol() 460 FragmentRef* pFragmentRef, in addSymbolFromObject() 573 input_sym->setFragmentRef(FragmentRef::Null()); in addSymbolFromDynObj() 594 FragmentRef* frag_ref = FragmentRef::Create(*pSection.getLink(), pOffset); in AddRelocation() 604 ResolveInfo* IRBuilder::CreateLocalSymbol(FragmentRef& pFragRef) { in CreateLocalSymbol() 624 inputSym->setFragmentRef(FragmentRef::Create(*pFragRef.frag(), in CreateLocalSymbol() 643 FragmentRef* pFragmentRef, in AddSymbol() 713 FragmentRef* pFragmentRef, in AddSymbol() [all …]
|
/frameworks/compile/mclinker/unittests/ |
D | FragmentRefTest.cpp | 52 FragmentRef* ref = FragmentRef::Create(*frag, 0x0);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 84 inputSym->setFragmentRef(mcld::FragmentRef::Create(pFrag, pFrag.size())); in CreateLocalSymbolToFragmentEnd() 209 FragmentRef::Null(), in initTargetSymbols() 213 FragmentRef* exidx_start = in initTargetSymbols() 214 FragmentRef::Create(m_pEXIDX->getSectionData()->front(), 0x0); in initTargetSymbols() 215 FragmentRef* exidx_end = FragmentRef::Create( in initTargetSymbols() 251 FragmentRef::Null(), in initTargetSymbols() 261 FragmentRef::Null(), in initTargetSymbols() 374 FragmentRef::Create(*(m_pGOT->begin()), 0x0), in defineGOTSymbol() 384 FragmentRef::Create(*(m_pGOT->begin()), 0x0), in defineGOTSymbol() 761 *FragmentRef::Create(*frag, /* pOffset */0), in rewriteARMExIdxSection() [all …]
|
/frameworks/compile/mclinker/lib/Target/ |
D | GNULDBackend.cpp | 238 FragmentRef* start_fragref = in initStandardSymbols() 239 FragmentRef::Create(section->getSectionData()->front(), 0x0); in initStandardSymbols() 252 FragmentRef* stop_fragref = FragmentRef::Create( in initStandardSymbols() 270 FragmentRef* preinit_array = NULL; in initStandardSymbols() 272 preinit_array = FragmentRef::Create( in initStandardSymbols() 275 preinit_array = FragmentRef::Null(); in initStandardSymbols() 297 FragmentRef::Null(), // FragRef in initStandardSymbols() 301 FragmentRef* init_array = NULL; in initStandardSymbols() 303 init_array = FragmentRef::Create( in initStandardSymbols() 306 init_array = FragmentRef::Null(); in initStandardSymbols() [all …]
|