/frameworks/compile/mclinker/lib/LD/ |
D | SectionData.cpp | 29 SectionData::SectionData(LDSection &pSection) in SectionData() argument 30 : m_pSection(&pSection) { in SectionData() 33 SectionData* SectionData::Create(LDSection& pSection) in Create() argument 36 new (result) SectionData(pSection); in Create() 40 void SectionData::Destroy(SectionData*& pSection) in Destroy() argument 42 pSection->~SectionData(); in Destroy() 43 g_SectDataFactory->deallocate(pSection); in Destroy() 44 pSection = NULL; in Destroy()
|
D | RelocData.cpp | 27 RelocData::RelocData(LDSection &pSection) in RelocData() argument 28 : m_pSection(&pSection) { in RelocData() 31 RelocData* RelocData::Create(LDSection& pSection) in Create() argument 34 new (result) RelocData(pSection); in Create() 38 void RelocData::Destroy(RelocData*& pSection) in Destroy() argument 40 pSection->~RelocData(); in Destroy() 41 g_RelocDataFactory->deallocate(pSection); in Destroy() 42 pSection = NULL; in Destroy()
|
D | EhFrame.cpp | 49 EhFrame::EhFrame(LDSection& pSection) in EhFrame() argument 50 : m_pSection(&pSection), in EhFrame() 52 m_pSectionData = SectionData::Create(pSection); in EhFrame() 61 EhFrame* EhFrame::Create(LDSection& pSection) in Create() argument 64 new (result) EhFrame(pSection); in Create() 68 void EhFrame::Destroy(EhFrame*& pSection) in Destroy() argument 70 pSection->~EhFrame(); in Destroy() 71 g_EhFrameFactory->deallocate(pSection); in Destroy() 72 pSection = NULL; in Destroy()
|
D | ELFObjectWriter.cpp | 377 ELFObjectWriter::emitSectionData(const LDSection& pSection, in emitSectionData() argument 381 switch (pSection.kind()) { in emitSectionData() 383 assert(pSection.hasRelocData()); in emitSectionData() 386 assert(pSection.hasEhFrame()); in emitSectionData() 387 sd = pSection.getEhFrame()->getSectionData(); in emitSectionData() 390 assert(pSection.hasSectionData()); in emitSectionData() 391 sd = pSection.getSectionData(); in emitSectionData() 399 const LDSection& pSection, in emitRelocation() argument 402 const RelocData* sect_data = pSection.getRelocData(); in emitRelocation() 405 if (pSection.type() == SHT_REL) { in emitRelocation() [all …]
|
D | LDContext.cpp | 19 LDContext& LDContext::appendSection(LDSection& pSection) in appendSection() argument 21 if (LDFileFormat::Relocation == pSection.kind()) in appendSection() 22 m_RelocSections.push_back(&pSection); in appendSection() 23 pSection.setIndex(m_SectionTable.size()); in appendSection() 24 m_SectionTable.push_back(&pSection); in appendSection()
|
D | LDSection.cpp | 80 void LDSection::Destroy(LDSection*& pSection) in Destroy() argument 82 g_SectFactory->destroy(pSection); in Destroy() 83 g_SectFactory->deallocate(pSection); in Destroy() 84 pSection = NULL; in Destroy()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.h | 98 LDSection& pSection); 116 LDSection& pSection) = 0; 121 LDSection& pSection) = 0; 168 LDSection& pSection); 173 LDSection& pSection); 177 void convertTLSIEtoLE(Relocation& pReloc, LDSection& pSection); 220 LDSection& pSection); 225 LDSection& pSection);
|
D | X86GOT.cpp | 21 X86_32GOT::X86_32GOT(LDSection& pSection) in X86_32GOT() argument 22 : GOT(pSection), m_pLast(NULL) in X86_32GOT() 52 X86_64GOT::X86_64GOT(LDSection& pSection) in X86_64GOT() argument 53 : GOT(pSection), m_pLast(NULL) in X86_64GOT()
|
D | X86GOTPLT.cpp | 23 X86_32GOTPLT::X86_32GOTPLT(LDSection& pSection) in X86_32GOTPLT() argument 24 : X86_32GOT(pSection) in X86_32GOTPLT() 67 X86_64GOTPLT::X86_64GOTPLT(LDSection& pSection) in X86_64GOTPLT() argument 68 : X86_64GOT(pSection) in X86_64GOTPLT()
|
D | X86GOTPLT.h | 32 X86_32GOTPLT(LDSection &pSection); 50 X86_64GOTPLT(LDSection &pSection);
|
/frameworks/compile/mclinker/lib/Target/ |
D | PLT.cpp | 20 PLT::PLT(LDSection& pSection) in PLT() argument 21 :m_Section(pSection) in PLT() 23 m_SectionData = IRBuilder::CreateSectionData(pSection); in PLT()
|
D | GOT.cpp | 24 GOT::GOT(LDSection& pSection) in GOT() argument 25 : m_Section(pSection) { in GOT() 26 m_SectionData = IRBuilder::CreateSectionData(pSection); in GOT()
|
D | OutputRelocSection.cpp | 24 OutputRelocSection::OutputRelocSection(Module& pModule, LDSection& pSection) in OutputRelocSection() argument 29 assert(!pSection.hasRelocData() && "Given section is not a relocation section"); in OutputRelocSection() 30 m_pRelocData = IRBuilder::CreateRelocData(pSection); in OutputRelocSection()
|
/frameworks/compile/mclinker/lib/Core/ |
D | IRBuilder.cpp | 324 SectionData* IRBuilder::CreateSectionData(LDSection& pSection) in CreateSectionData() argument 326 assert(!pSection.hasSectionData() && "pSection already has section data."); in CreateSectionData() 328 SectionData* sect_data = SectionData::Create(pSection); in CreateSectionData() 329 pSection.setSectionData(sect_data); in CreateSectionData() 334 RelocData* IRBuilder::CreateRelocData(LDSection &pSection) in CreateRelocData() argument 336 assert(!pSection.hasRelocData() && "pSection already has relocation data."); in CreateRelocData() 338 RelocData* reloc_data = RelocData::Create(pSection); in CreateRelocData() 339 pSection.setRelocData(reloc_data); in CreateRelocData() 344 EhFrame* IRBuilder::CreateEhFrame(LDSection& pSection) in CreateEhFrame() argument 346 assert(!pSection.hasEhFrame() && "pSection already has eh_frame."); in CreateEhFrame() [all …]
|
/frameworks/compile/mclinker/include/mcld/LD/ |
D | ELFObjectWriter.h | 78 void emitSectionData(const LDSection& pSection, 82 const LDSection& pSection, 99 uint64_t getSectEntrySize(const LDSection& pSection) const; 102 uint64_t getSectLink(const LDSection& pSection, 106 uint64_t getSectInfo(const LDSection& pSection) const;
|
D | ELFSegment.h | 115 void addSection(LDSection* pSection) in addSection() argument 117 assert(NULL != pSection); in addSection() 118 if (pSection->align() > m_MaxSectionAlign) in addSection() 119 m_MaxSectionAlign = pSection->align(); in addSection() 120 m_SectionList.push_back(pSection); in addSection()
|
D | RelocData.h | 40 explicit RelocData(LDSection &pSection); 59 static RelocData* Create(LDSection& pSection); 61 static void Destroy(RelocData*& pSection);
|
D | SectionData.h | 36 explicit SectionData(LDSection &pSection); 54 static SectionData* Create(LDSection& pSection); 56 static void Destroy(SectionData*& pSection);
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.h | 98 LDSection& pSection); 103 const LDSection& pSection); 140 LDSection& pSection); 145 LDSection& pSection);
|
D | HexagonGOTPLT.cpp | 23 HexagonGOTPLT::HexagonGOTPLT(LDSection& pSection) in HexagonGOTPLT() argument 24 : HexagonGOT(pSection) in HexagonGOTPLT() 33 pSection.setAlign(8); in HexagonGOTPLT()
|
/frameworks/compile/mclinker/lib/Fragment/ |
D | FragmentRef.cpp | 75 FragmentRef* FragmentRef::Create(LDSection& pSection, uint64_t pOffset) in Create() argument 78 switch (pSection.kind()) { in Create() 83 if (pSection.hasEhFrame()) in Create() 84 data = pSection.getEhFrame()->getSectionData(); in Create() 87 data = pSection.getSectionData(); in Create()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.h | 43 LDSection& pSection); 87 const LDSection& pSection); 91 const LDSection& pSection);
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMRelocator.h | 109 LDSection& pSection); 112 void scanLocalReloc(Relocation& pReloc, const LDSection& pSection); 116 const LDSection& pSection);
|
D | ARMLDBackend.cpp | 312 uint64_t ARMGNULDBackend::emitSectionData(const LDSection& pSection, in emitSectionData() argument 319 if (&pSection == m_pAttributes || in emitSectionData() 320 &pSection == m_pEXIDX || in emitSectionData() 321 &pSection == m_pEXTAB) { in emitSectionData() 324 const SectionData* sect_data = pSection.getSectionData(); in emitSectionData() 375 if (&pSection == &(file_format->getPLT())) { in emitSectionData() 381 if (&pSection == &(file_format->getGOT())) { in emitSectionData() 387 << pSection.name() in emitSectionData() 398 bool ARMGNULDBackend::mergeSection(Module& pModule, LDSection& pSection) in mergeSection() argument 400 switch (pSection.type()) { in mergeSection() [all …]
|
/frameworks/compile/mclinker/include/mcld/ |
D | IRBuilder.h | 263 static SectionData* CreateSectionData(LDSection& pSection); 272 static RelocData* CreateRelocData(LDSection &pSection); 281 static EhFrame* CreateEhFrame(LDSection& pSection); 291 static SectionData* CreateBSS(LDSection& pSection); 411 LDSection* pSection = NULL, 467 static Relocation* AddRelocation(LDSection& pSection,
|