Searched defs:pSection (Results 1 - 20 of 20) sorted by relevance

/frameworks/compile/mclinker/lib/LD/
H A DSectionData.cpp17 SectionData::SectionData(const LDSection &pSection) argument
18 : m_pSection(&pSection), m_Alignment(1) {
H A DLDSectionFactory.cpp34 void LDSectionFactory::destroy(LDSection*& pSection) argument
37 deallocate(pSection);
H A DSectionMerger.cpp68 bool SectionMerger::addMapping(const std::string& pName, LDSection* pSection) argument
73 (*it).outputSection = pSection;
H A DEhFrame.cpp35 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 DELFWriter.cpp401 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...]
/frameworks/compile/mclinker/lib/Target/
H A DPLT.cpp36 PLT::PLT(LDSection& pSection, SectionData& pSectionData) argument
37 :m_Section(pSection),
H A DGOT.cpp32 GOT::GOT(LDSection& pSection, argument
35 : m_Section(pSection),
H A DOutputRelocSection.cpp22 OutputRelocSection::OutputRelocSection(LDSection& pSection, argument
25 : m_pSection(&pSection),
H A DELFDynamic.cpp295 void ELFDynamic::emit(const LDSection& pSection, MemoryRegion& pRegion) const argument
297 if (pRegion.size() < pSection.size()) {
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOT.cpp28 X86GOT::X86GOT(LDSection& pSection, SectionData& pSectionData) argument
29 : GOT(pSection, pSectionData, X86GOTEntrySize),
H A DX86GOTPLT.cpp28 X86GOTPLT::X86GOTPLT(LDSection& pSection, SectionData& pSectionData) argument
29 : GOT(pSection, pSectionData, X86GOTPLTEntrySize), m_GOTPLTIterator()
H A DX86PLT.cpp62 X86PLT::X86PLT(LDSection& pSection, argument
66 : PLT(pSection, pSectionData),
H A DX86LDBackend.cpp480 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
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOT.cpp27 MipsGOT::MipsGOT(LDSection& pSection, SectionData& pSectionData) argument
28 : GOT(pSection, pSectionData, MipsGOTEntrySize),
H A DMipsLDBackend.cpp124 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/ARM/
H A DARMGOT.cpp27 ARMGOT::ARMGOT(LDSection& pSection, SectionData& pSectionData) argument
28 : GOT(pSection, pSectionData, ARMGOTEntrySize),
H A DARMPLT.cpp48 ARMPLT::ARMPLT(LDSection& pSection, argument
51 : PLT(pSection, pSectionData), m_GOT(pGOTPLT), m_PLTEntryIterator() {
H A DARMLDBackend.cpp720 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...]
/frameworks/compile/mclinker/include/mcld/LD/
H A DELFSegment.h141 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/MC/
H A DMCLinker.cpp534 /// 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...]

Completed in 169 milliseconds