Home
last modified time | relevance | path

Searched refs:LDSection (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/compile/mclinker/include/mcld/LD/
DELFFileFormat.h176 LDSection& getNULLSection() { in getNULLSection()
181 const LDSection& getNULLSection() const { in getNULLSection()
186 LDSection& getGOT() { in getGOT()
191 const LDSection& getGOT() const { in getGOT()
196 LDSection& getPLT() { in getPLT()
201 const LDSection& getPLT() const { in getPLT()
206 LDSection& getRelDyn() { in getRelDyn()
211 const LDSection& getRelDyn() const { in getRelDyn()
216 LDSection& getRelPlt() { in getRelPlt()
221 const LDSection& getRelPlt() const { in getRelPlt()
[all …]
DLDFileFormat.h22 class LDSection; variable
63 LDSection& getText() { in getText()
68 const LDSection& getText() const { in getText()
73 LDSection& getData() { in getData()
78 const LDSection& getData() const { in getData()
83 LDSection& getBSS() { in getBSS()
88 const LDSection& getBSS() const { in getBSS()
93 LDSection& getReadOnly() { in getReadOnly()
98 const LDSection& getReadOnly() const { in getReadOnly()
104 LDSection* f_pTextSection; // .text __text
[all …]
DELFReader.h74 LDSection& pSectHdr) const = 0;
79 LDSection& pSectHdr) = 0;
89 LDSection& pSymTab,
96 LDSection& pSection,
102 LDSection& pSection,
107 LDSection* section;
187 LDSection& pInputSectHdr) const;
192 LDSection& pInputSectHdr);
202 LDSection& pSymTab,
209 LDSection& pSection,
[all …]
DELFSegment.h29 typedef std::vector<LDSection*>::iterator sect_iterator;
30 typedef std::vector<LDSection*>::const_iterator const_sect_iterator;
55 const LDSection* getFirstSection() in getFirstSection()
62 const LDSection* getLastSection() in getLastSection()
70 const LDSection* getFirstSection() const in getFirstSection()
77 const LDSection* getLastSection() const in getLastSection()
142 void addSection(LDSection* pSection) in addSection()
157 std::vector<LDSection*> m_SectionList;
DELFWriter.h29 class LDSection; variable
80 const LDSection& pSection,
85 const LDSection& pSection,
100 uint64_t getELF32SectEntrySize(const LDSection& pSection) const;
103 uint64_t getELF64SectEntrySize(const LDSection& pSection) const;
106 uint64_t getSectLink(const LDSection& pSection, const Output& pOutput) const;
109 uint64_t getSectInfo(const LDSection& pSection, const Output& pOutput) const;
DLDContext.h29 class LDSection; variable
37 typedef std::vector<LDSection*> SectionTable;
69 LDSection* getSection(unsigned int pIdx);
71 const LDSection* getSection(unsigned int pIdx) const;
73 LDSection* getSection(const std::string& pName);
75 const LDSection* getSection(const std::string& pName) const;
DLDSection.h38 class LDSection : public llvm::MCSection
41 LDSection(const std::string& pName,
110 LDSection* getLink() in getLink()
113 const LDSection* getLink() const in getLink()
143 static bool classof(const LDSection *) in classof() argument
171 void setLink(LDSection* pLink) in setLink()
192 LDSection* m_pLink;
DLayout.h40 typedef std::vector<LDSection*> SectionOrder;
55 LDSection* getInputLDSection(const llvm::MCFragment& pFrag);
61 const LDSection* getInputLDSection(const llvm::MCFragment& pFrag) const;
70 getFragmentRef(const LDSection& pInputSection, uint64_t pOffset);
106 LDSection* getOutputLDSection(const llvm::MCFragment& pFrag);
112 const LDSection* getOutputLDSection(const llvm::MCFragment& pFrag) const;
119 const LDSection& pInputHdr);
137 Range(const LDSection& pHeader);
141 LDSection* header;
DLDSectionFactory.h25 class LDSectionFactory : public GCFactory<LDSection, 0>
39 LDSection* produce(const std::string& pName,
47 void destroy(LDSection*& pSD);
52 LDSection* find(const std::string& pName);
DSectionMerger.h35 LDSection* outputSection;
47 LDSection* getOutputSectHdr(const std::string& pName);
55 bool addMapping(const std::string& pName, LDSection* pSection);
DELFReader.tcc170 LDSection& section = pLinker.createSectHdr(sect_name+sh_name, in readSectionHeaders()
212 LDSection& pInputSectHdr) const in readRegularSection()
214 LDSection& out_sect = pLinker.getOrCreateOutputSectHdr(pInputSectHdr.name(), in readRegularSection()
244 LDSection& pInputSectHdr) in readTargetSection()
353 LDSection& pSymTab, in readSymbol()
357 LDSection* symtab = &pSymTab; in readSymbol()
358 LDSection* strtab = symtab->getLink(); in readSymbol()
424 LDSection& pSection, in readRela()
481 LDSection& pSection, in readRel()
/frameworks/compile/mclinker/lib/LD/
DLDSectionFactory.cpp16 : GCFactory<LDSection, 0>(pNum) { in LDSectionFactory()
23 LDSection* LDSectionFactory::produce(const std::string& pName, in produce()
29 LDSection* result = allocate(); in produce()
30 new (result) LDSection(pName, pKind, pType, pFlag); in produce()
34 void LDSectionFactory::destroy(LDSection*& pSection) in destroy()
40 LDSection* LDSectionFactory::find(const std::string& pName) in find()
DELFWriter.cpp194 const LDSection *ld_sect = pOutput.context()->getSection(sectIdx); in emitELF32SectionHeader()
227 const LDSection *ld_sect = pOutput.context()->getSection(sectIdx); in emitELF64SectionHeader()
253 LDSection& shstrtab = pLinker.getOrCreateOutputSectHdr(".shstrtab", in emitELF32ShStrTab()
293 LDSection& shstrtab = pLinker.getOrCreateOutputSectHdr(".shstrtab", in emitELF64ShStrTab()
331 const LDSection& pSection, in emitSectionData()
405 const LDSection& pSection, in emitRelocation()
439 llvm::cast<LDSection>( in emitRel()
445 llvm::cast<LDSection>( in emitRel()
480 llvm::cast<LDSection>( in emitRela()
486 llvm::cast<LDSection>( in emitRela()
[all …]
DLayout.cpp31 Layout::Range::Range(const LDSection& pHdr) in Range()
32 : header(const_cast<LDSection*>(&pHdr)), in Range()
124 const LDSection& pInputHdr) in addInputRange()
191 LDSection* output_sect = getOutputLDSection(pFrag); in appendFragment()
208 LDSection*
252 const LDSection*
296 LDSection* Layout::getOutputLDSection(const llvm::MCFragment& pFrag) in getOutputLDSection()
302 return const_cast<LDSection*>(llvm::cast<LDSection>(&sect_data->getSection())); in getOutputLDSection()
306 const LDSection* Layout::getOutputLDSection(const llvm::MCFragment& pFrag) const in getOutputLDSection()
312 return llvm::cast<LDSection>(&sect_data->getSection()); in getOutputLDSection()
[all …]
DLDContext.cpp26 LDSection* LDContext::getSection(unsigned int pIdx) in getSection()
33 const LDSection* LDContext::getSection(unsigned int pIdx) const in getSection()
40 LDSection* LDContext::getSection(const std::string& pName) in getSection()
50 const LDSection* LDContext::getSection(const std::string& pName) const in getSection()
DSectionMerger.cpp47 LDSection* SectionMerger::getOutputSectHdr(const std::string& pName) in getOutputSectHdr()
49 LDSection* section; in getOutputSectHdr()
68 bool SectionMerger::addMapping(const std::string& pName, LDSection* pSection) in addMapping()
DLDSection.cpp14 LDSection::LDSection(const std::string& pName, in LDSection() function in LDSection
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.h166 const LDSection& pSection,
188 const LDSection& pSectHdr) const;
202 LDSection& pInputSectHdr);
269 LDSection* m_pEXIDX; // .ARM.exidx
270 LDSection* m_pEXTAB; // .ARM.extab
271 LDSection* m_pAttributes; // .ARM.attributes
DARMGOT.h19 class LDSection; variable
38 ARMGOT(LDSection &pSection, llvm::MCSectionData& pSectionData);
/frameworks/compile/mclinker/include/mcld/Target/
DPLT.h59 PLT(LDSection& pSection, llvm::MCSectionData& pSectionData);
62 const LDSection& getSection() const in getSection()
79 LDSection& m_Section;
DGOT.h65 GOT(LDSection& pSection,
75 const LDSection& getSection() const in getSection()
98 LDSection& m_Section;
DOutputRelocSection.h37 OutputRelocSection(LDSection& pSection,
50 LDSection* m_pSection;
/frameworks/compile/mclinker/lib/Target/X86/
DX86GOTPLT.h19 class LDSection; variable
36 X86GOTPLT(LDSection &pSection, llvm::MCSectionData& pSectionData);
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsGOT.h19 class LDSection; variable
35 MipsGOT(LDSection& pSection, llvm::MCSectionData& pSectionData);
/frameworks/compile/mclinker/include/mcld/MC/
DMCLinker.h41 class LDSection; variable
131 LDSection& createSectHdr(const std::string& pName,
138 LDSection& getOrCreateOutputSectHdr(const std::string& pName,
145 llvm::MCSectionData& getOrCreateSectData(LDSection& pSection);

123