/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFSegment.h | 141 void addSection(LDSection* pSection) argument 143 assert(NULL != pSection); 144 if (pSection->align() > m_MaxSectionAlign) 145 m_MaxSectionAlign = pSection->align(); 146 m_SectionList.push_back(pSection);
|
/frameworks/compile/mclinker/lib/LD/ |
H A D | ELFWriter.cpp | 401 const LDSection& pSection, 404 const SectionData* data = pSection.getSectionData(); 466 const LDSection& pSection, 469 const SectionData* sect_data = pSection.getSectionData(); 472 if (pSection.type() == SHT_REL) 474 else if (pSection.type() == SHT_RELA) 561 uint64_t ELFWriter::getELF32SectEntrySize(const LDSection& pSection) const 563 if (llvm::ELF::SHT_DYNSYM == pSection.type() || 564 llvm::ELF::SHT_SYMTAB == pSection.type()) 566 if (llvm::ELF::SHT_REL == pSection 400 emitSectionData(const Layout& pLayout, const LDSection& pSection, MemoryRegion& pRegion) const argument 464 emitRelocation(const Layout& pLayout, const Output& pOutput, const LDSection& pSection, MemoryRegion& pRegion) const argument 595 getSectLink(const LDSection& pSection, const Output& pOutput) const argument 617 getSectInfo(const LDSection& pSection, const Output& pOutput) const argument [all...] |
H A D | EhFrame.cpp | 35 LDSection& pSection, 39 pInput.fileOffset() + pSection.offset(), pSection.size()); 105 pInput.fileOffset() + pSection.offset() + ent_offset, len + 4); 141 section_size += pLayout.appendFragment(**it, pSD, pSection.align()); 31 readEhFrame(Layout& pLayout, const TargetLDBackend& pBackend, SectionData& pSD, const Input& pInput, LDSection& pSection, MemoryArea& pArea) argument
|
H A D | LDSectionFactory.cpp | 34 void LDSectionFactory::destroy(LDSection*& pSection) argument 37 deallocate(pSection);
|
H A D | SectionData.cpp | 17 SectionData::SectionData(const LDSection &pSection) argument 18 : m_pSection(&pSection), m_Alignment(1) {
|
H A D | SectionMerger.cpp | 68 bool SectionMerger::addMapping(const std::string& pName, LDSection* pSection) argument 73 (*it).outputSection = pSection;
|
/frameworks/compile/mclinker/lib/MC/ |
H A D | MCLinker.cpp | 534 /// pSection is input LDSection 535 SectionData& MCLinker::getOrCreateSectData(LDSection& pSection) argument 538 SectionData* sect_data = pSection.getSectionData(); 540 m_Layout.addInputRange(*sect_data, pSection); 546 m_pSectionMerger->getOutputSectHdr(pSection.name()); 553 pSection.setSectionData(sect_data); 554 m_Layout.addInputRange(*sect_data, pSection); 561 pSection.setSectionData(sect_data); 563 m_Layout.addInputRange(*sect_data, pSection); 589 const LDSection& pSection, 585 addRelocation(Relocation::Type pType, const LDSymbol& pSym, ResolveInfo& pResolveInfo, FragmentRef& pFragmentRef, const LDSection& pSection, Relocation::Address pAddend) argument 679 addEhFrame(const Input& pInput, LDSection& pSection, MemoryArea& pArea) argument [all...] |
/frameworks/compile/mclinker/lib/Target/ARM/ |
H A D | ARMGOT.cpp | 27 ARMGOT::ARMGOT(LDSection& pSection, SectionData& pSectionData) argument 28 : GOT(pSection, pSectionData, ARMGOTEntrySize),
|
H A D | ARMLDBackend.cpp | 720 const LDSection& pSection) 726 assert(NULL != pSection.getLink()); 727 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC)) { 758 const LDSection& pSection, 767 if (&pSection == m_pAttributes || 768 &pSection == m_pEXIDX || 769 &pSection == m_pEXTAB) { 772 const SectionData* sect_data = pSection.getSectionData(); 808 if (&pSection == &(file_format->getPLT())) { 814 if (&pSection 715 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument 757 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument [all...] |
H A D | ARMPLT.cpp | 48 ARMPLT::ARMPLT(LDSection& pSection, argument 51 : PLT(pSection, pSectionData), m_GOT(pGOTPLT), m_PLTEntryIterator() {
|
/frameworks/compile/mclinker/lib/Target/ |
H A D | ELFDynamic.cpp | 295 void ELFDynamic::emit(const LDSection& pSection, MemoryRegion& pRegion) const argument 297 if (pRegion.size() < pSection.size()) {
|
H A D | GOT.cpp | 32 GOT::GOT(LDSection& pSection, argument 35 : m_Section(pSection),
|
H A D | OutputRelocSection.cpp | 22 OutputRelocSection::OutputRelocSection(LDSection& pSection, argument 25 : m_pSection(&pSection),
|
H A D | PLT.cpp | 36 PLT::PLT(LDSection& pSection, SectionData& pSectionData) argument 37 :m_Section(pSection),
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
H A D | MipsGOT.cpp | 27 MipsGOT::MipsGOT(LDSection& pSection, SectionData& pSectionData) argument 28 : GOT(pSection, pSectionData, MipsGOTEntrySize),
|
H A D | MipsLDBackend.cpp | 124 const LDSection& pSection) 130 assert(NULL != pSection.getLink()); 131 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC)) { 245 const LDSection& pSection, 254 if (&pSection == &(file_format->getGOT())) { 261 << pSection.name() 119 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument 244 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument
|
/frameworks/compile/mclinker/lib/Target/X86/ |
H A D | X86GOT.cpp | 28 X86GOT::X86GOT(LDSection& pSection, SectionData& pSectionData) argument 29 : GOT(pSection, pSectionData, X86GOTEntrySize),
|
H A D | X86GOTPLT.cpp | 28 X86GOTPLT::X86GOTPLT(LDSection& pSection, SectionData& pSectionData) argument 29 : GOT(pSection, pSectionData, X86GOTPLTEntrySize), m_GOTPLTIterator()
|
H A D | X86LDBackend.cpp | 480 const LDSection& pSection) 486 assert(NULL != pSection.getLink()); 487 if (0 == (pSection.getLink()->flag() & llvm::ELF::SHF_ALLOC)) { 518 const LDSection& pSection, 532 if (&pSection == &(FileFormat->getPLT())) { 558 else if (&pSection == &(FileFormat->getGOT())) { 574 else if (&pSection == &(FileFormat->getGOTPLT())) { 593 << pSection.name() 475 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument 517 emitSectionData(const Output& pOutput, const LDSection& pSection, const MCLDInfo& pInfo, const Layout& pLayout, MemoryRegion& pRegion) const argument
|
H A D | X86PLT.cpp | 62 X86PLT::X86PLT(LDSection& pSection, argument 66 : PLT(pSection, pSectionData),
|