Home
last modified time | relevance | path

Searched refs:FragmentRef (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/compile/mclinker/lib/Fragment/
DFragmentRef.cpp27 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 …]
DStub.cpp52 FragmentRef::Create(*this, initSymValue()), in applyFixup()
60 *(FragmentRef::Create(*this, (*it)->offset())), in applyFixup()
67 void Stub::applyFixup(FragmentRef& pSrcFragRef, in applyFixup()
DRelocation.cpp48 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/
DFragmentRef.h27 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 …]
DRelocation.h41 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/Target/AArch64/
DAArch64CA53ErratumStub.cpp65 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()
DAArch64CA53ErratumStub.h21 class FragmentRef; variable
36 bool isMyDuty(const FragmentRef& pFragRef) const;
38 void applyFixup(FragmentRef& pSrcFragRef,
DAArch64CA53Erratum835769Stub.h21 class FragmentRef; variable
36 bool isMyDuty(const FragmentRef& pFragRef) const;
DAArch64CA53Erratum843419Stub2.h21 class FragmentRef; variable
36 bool isMyDuty(const FragmentRef& pFragRef) const;
DAArch64CA53Erratum843419Stub.h21 class FragmentRef; variable
41 bool isMyDuty(const FragmentRef& pFragRef) const;
/frameworks/compile/mclinker/lib/LD/
DELFReaderIf.cpp95 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()
DSectionSymbolSet.cpp84 FragmentRef* frag_ref; in finalize()
86 frag_ref = FragmentRef::Create(data->front(), 0x0); in finalize()
88 frag_ref = FragmentRef::Null(); in finalize()
DLDSymbol.cpp71 g_NullSymbol->setFragmentRef(FragmentRef::Create(*g_NullSymbolFragment, 0)); in Null()
77 void LDSymbol::setFragmentRef(FragmentRef* pFragmentRef) { in setFragmentRef()
/frameworks/compile/mclinker/include/mcld/LD/
DLDSymbol.h28 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;
DStubFactory.h20 class FragmentRef; variable
41 Stub* create(FragmentRef& pFragRef,
52 Stub* findPrototype(const FragmentRef& pFragRef) const;
DRelocationFactory.h17 class FragmentRef; variable
43 Relocation* produce(Type pType, FragmentRef& pFragRef, Address pAddend = 0);
DELFReaderIf.h23 class FragmentRef; variable
110 FragmentRef* getSymFragmentRef(Input& pInput,
/frameworks/compile/mclinker/include/mcld/
DIRBuilder.h357 ResolveInfo* CreateLocalSymbol(FragmentRef& pFragRef);
439 FragmentRef * pFragmentRef = FragmentRef::Null(),
468 FragmentRef* pFragmentRef,
495 FragmentRef* pFragmentRef,
506 FragmentRef* pFragmentRef,
517 FragmentRef* pFragmentRef,
528 FragmentRef* pFragmentRef,
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp333 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/
DMipsRelocator.h147 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);
DMipsRelocator.cpp519 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/
DIRBuilder.cpp428 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/
DFragmentRefTest.cpp52 FragmentRef* ref = FragmentRef::Create(*frag, 0x0);
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp84 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/
DGNULDBackend.cpp238 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 …]

12