/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFFileFormat.h | 15 #include <mcld/LD/LDSection.h> 179 LDSection& getNULLSection() { 184 const LDSection& getNULLSection() const { 189 LDSection& getGOT() { 194 const LDSection& getGOT() const { 199 LDSection& getPLT() { 204 const LDSection& getPLT() const { 209 LDSection& getRelDyn() { 214 const LDSection& getRelDyn() const { 219 LDSection [all...] |
H A D | LDFileFormat.h | 22 class LDSection; 65 LDSection& getText() { 70 const LDSection& getText() const { 75 LDSection& getData() { 80 const LDSection& getData() const { 85 LDSection& getBSS() { 90 const LDSection& getBSS() const { 95 LDSection& getReadOnly() { 100 const LDSection& getReadOnly() const { 106 LDSection* f_pTextSectio [all...] |
H A D | LDSectionFactory.h | 18 #include <mcld/LD/LDSection.h> 27 class LDSectionFactory : public GCFactory<LDSection, 0> 30 /// LDSectionFactory - the factory of LDSection 36 /// This function will create an empty SectionData and its LDSection. 41 LDSection* produce(const std::string& pName, 46 /// destroy - destruct the LDSection. 47 /// @oaram - the reference of the pointer to the destructed LDSection. 49 void destroy(LDSection*& pSD); 51 /// find - find the LDSection* in factory from the given section name. 54 LDSection* fin [all...] |
H A D | LDContext.h | 29 class LDSection; 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;
|
H A D | ELFSegment.h | 16 #include <mcld/LD/LDSection.h> 29 typedef std::vector<LDSection*>::iterator sect_iterator; 30 typedef std::vector<LDSection*>::const_iterator const_sect_iterator; 56 LDSection* getFirstSection() 63 LDSection* getLastSection() 70 const LDSection* getFirstSection() const 77 const LDSection* getLastSection() const 141 void addSection(LDSection* pSection) 159 std::vector<LDSection*> m_SectionList;
|
H A D | EhFrameHdr.h | 22 #include <mcld/LD/LDSection.h> 30 class LDSection; 42 const LDSection& pEhFrameSect, 43 LDSection& pEhFrameHdrSect); 88 const LDSection& m_EhFrameSect; 91 LDSection& m_EhFrameHdrSect;
|
H A D | SectionData.h | 24 class LDSection; 44 explicit SectionData(const LDSection &pSection); 46 const LDSection &getSection() const { return *m_pSection; } 72 const LDSection* m_pSection;
|
H A D | SectionMerger.h | 18 #include <mcld/LD/LDSection.h> 35 LDSection* outputSection; 47 LDSection* getOutputSectHdr(const std::string& pName); 52 /// addMapping - add a mapping as creating one new output LDSection 54 /// @param pSection - the output LDSection* 55 bool addMapping(const std::string& pName, LDSection* pSection); 84 /// output LDSection*
|
H A D | ELFWriter.h | 25 class LDSection; 83 const LDSection& pSection, 88 const LDSection& pSection, 103 uint64_t getELF32SectEntrySize(const LDSection& pSection) const; 106 uint64_t getELF64SectEntrySize(const LDSection& pSection) const; 109 uint64_t getSectLink(const LDSection& pSection, const Output& pOutput) const; 112 uint64_t getSectInfo(const LDSection& pSection, const Output& pOutput) const;
|
H A D | LDSection.h | 1 //===- LDSection.h --------------------------------------------------------===// 25 /** \class LDSection 26 * \brief LDSection represents a section header entry. It is a unified 29 class LDSection class in namespace:mcld 32 LDSection(const std::string& pName, 66 /// Before layouting, output's LDSection::size() should return zero. 71 /// Before layouting, output's LDSection::offset() should return zero. 77 /// Before layouting, output's LDSection::offset() should return zero. 89 /// Before layouting, output's LDSection::align() should return zero. 101 LDSection* getLin [all...] |
H A D | ELFReader.h | 78 LDSection& pSectHdr) const = 0; 83 LDSection& pSectHdr) = 0; 94 LDSection& pSymTab, 101 LDSection& pSection, 107 LDSection& pSection, 112 LDSection& pSection) const; 120 LDSection* section; 202 LDSection& pInputSectHdr) const; 207 LDSection& pInputSectHdr); 218 LDSection [all...] |
H A D | Layout.h | 22 #include <mcld/LD/LDSection.h> 44 typedef std::vector<LDSection*> SectionOrder; 56 /// LDSection* 59 LDSection* getInputLDSection(const Fragment& pFrag); 62 /// LDSection* 65 const LDSection* getInputLDSection(const Fragment& pFrag) const; 67 /// getFragmentRef - give a LDSection in input file and an offset, return 74 getFragmentRef(const LDSection& pInputSection, uint64_t pOffset); 106 /// LDSection* 109 LDSection* getOutputLDSectio [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | SectionData.cpp | 10 #include <mcld/LD/LDSection.h> 17 SectionData::SectionData(const LDSection &pSection)
|
H A D | LDSectionFactory.cpp | 16 : GCFactory<LDSection, 0>(pNum) { 23 LDSection* LDSectionFactory::produce(const std::string& pName, 28 // create a LDSection 29 LDSection* result = allocate(); 30 new (result) LDSection(pName, pKind, pType, pFlag); 34 void LDSectionFactory::destroy(LDSection*& pSection) 36 // do not recycle LDSection. HeaderFactory will do that job. 40 LDSection* LDSectionFactory::find(const std::string& pName)
|
H A D | LDSection.cpp | 1 //===- LDSection.cpp ------------------------------------------------------===// 9 #include <mcld/LD/LDSection.h> 13 LDSection::LDSection(const std::string& pName, function in class:LDSection
|
H A D | EhFrameHdr.cpp | 16 const LDSection& pEhFrameSect, 17 LDSection& pEhFrameHdrSect)
|
H A D | LDContext.cpp | 10 #include <mcld/LD/LDSection.h> 26 LDSection* LDContext::getSection(unsigned int pIdx) 33 const LDSection* LDContext::getSection(unsigned int pIdx) const 40 LDSection* LDContext::getSection(const std::string& pName) 50 const LDSection* LDContext::getSection(const std::string& pName) const
|
/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | GOT.h | 15 #include <mcld/LD/LDSection.h> 66 GOT(LDSection& pSection, SectionData& pSectionData, size_t pEntrySize); 74 const LDSection& getSection() const 97 LDSection& m_Section;
|
H A D | PLT.h | 17 #include <mcld/LD/LDSection.h> 61 PLT(LDSection& pSection, SectionData& pSectionData); 64 const LDSection& getSection() const 81 LDSection& m_Section;
|
H A D | OutputRelocSection.h | 31 OutputRelocSection(LDSection& pSection, 51 /// m_pSection - LDSection of this Section 52 LDSection* m_pSection;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMLDBackend.h | 15 #include <mcld/LD/LDSection.h> 108 const LDSection& pSection); 154 /// When writers get a LDSection whose kind is LDFileFormat::Target, writers 159 /// - LDSection.getSectionData can get the section data. 161 /// - backend can maintain its own map<LDSection, table> to get the table 162 /// from given LDSection. 165 /// @param pSection - the given LDSection 171 const LDSection& pSection, 194 const LDSection& pSectHdr, 203 LDSection [all...] |
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86GOT.h | 22 class LDSection; 37 X86GOT(LDSection& pSection, SectionData& pSectionData);
|
H A D | X86GOTPLT.h | 22 class LDSection; 38 X86GOTPLT(LDSection &pSection, SectionData& pSectionData);
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | PLT.cpp | 36 PLT::PLT(LDSection& pSection, SectionData& pSectionData)
|
/frameworks/compile/mclinker/unittests/ |
H A D | FragmentTest.cpp | 13 #include <mcld/LD/LDSection.h> 43 LDSection test("test", LDFileFormat::Null, 0, 0); 58 LDSection test("test", LDFileFormat::Null, 0, 0);
|