Home
last modified time | relevance | path

Searched refs:getSection (Results 1 – 23 of 23) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
DLDContext.h69 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;
DELFReader.tcc194 info->section->setLink(pInput.context()->getSection(info->sh_link)); in readSectionHeaders()
198 info->section->setLink(pInput.context()->getSection(info->sh_info)); in readSectionHeaders()
291 if (NULL == pInput.context()->getSection(st_shndx)) in readSymbols()
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp26 LDSection* LDContext::getSection(unsigned int pIdx) in getSection() function in LDContext
33 const LDSection* LDContext::getSection(unsigned int pIdx) const in getSection() function in LDContext
40 LDSection* LDContext::getSection(const std::string& pName) in getSection() function in LDContext
50 const LDSection* LDContext::getSection(const std::string& pName) const in getSection() function in LDContext
DELFWriter.cpp194 const LDSection *ld_sect = pOutput.context()->getSection(sectIdx); in emitELF32SectionHeader()
227 const LDSection *ld_sect = pOutput.context()->getSection(sectIdx); in emitELF64SectionHeader()
440 FragmentRef->frag()->getParent()->getSection()).addr() + in emitRel()
446 FragmentRef->frag()->getParent()->getSection()).offset() + in emitRel()
481 FragmentRef->frag()->getParent()->getSection()).addr() + in emitRela()
487 FragmentRef->frag()->getParent()->getSection()).offset() + in emitRela()
DELFReader.cpp93 if (NULL == pInput.context()->getSection(pShndx)) in getSymDesc()
142 LDSection* sect_hdr = pInput.context()->getSection(pShndx); in getSymFragmentRef()
DRelocation.cpp46 m_pSymInfo->outSymbol()->fragRef()->frag()->getParent()->getSection()).addr(); in symValue()
DSectionMerger.cpp57 section = m_Output.getSection(pName); in getOutputSectHdr()
DELFDynObjReader.cpp82 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym"); in readSymbols()
DELFDynObjWriter.cpp55 LDSection* sect = pOutput.context()->getSection(secIdx); in writeDynObj()
DLayout.cpp302 return const_cast<LDSection*>(llvm::cast<LDSection>(&sect_data->getSection())); in getOutputLDSection()
312 return llvm::cast<LDSection>(&sect_data->getSection()); in getOutputLDSection()
DELFObjectReader.cpp194 LDSection* symtab_shdr = pInput.context()->getSection(".symtab"); in readSymbols()
/frameworks/compile/mclinker/include/mcld/Target/
DPLT.h62 const LDSection& getSection() const in getSection() function
DGOT.h75 const LDSection& getSection() const in getSection() function
/frameworks/compile/mclinker/lib/Target/ARM/
DARMPLT.cpp149 uint64_t got_base = m_GOT.getSection().addr(); in applyPLT0()
183 uint64_t got_base = m_GOT.getSection().addr(); in applyPLT1()
DARMRelocationFactory.cpp204 return pParent.getTarget().getGOT().getSection().addr(); in helper_GOT_ORG()
253 return pParent.getTarget().getPLT().getSection().addr(); in helper_PLT_ORG()
/frameworks/compile/mclinker/lib/Target/X86/
DX86PLT.cpp193 uint64_t got_base = m_GOT.getSection().addr(); in applyPLT0()
210 uint64_t got_base = m_GOT.getSection().addr(); in applyPLT1()
DX86RelocationFactory.cpp160 return pParent.getTarget().getGOT().getSection().addr(); in helper_GOT_ORG()
209 return pParent.getTarget().getPLT().getSection().addr(); in helper_PLT_ORG()
/frameworks/compile/mclinker/lib/MC/
DMCLinker.cpp436 LDSection* output_sect = m_Output.getSection(sect_name); in createSectHdr()
458 LDSection* output_sect = m_Output.getSection(sect_name); in getOrCreateOutputSectHdr()
/frameworks/compile/slang/BitWriter_2_9/
DBitcodeWriter.cpp462 unsigned &Entry = SectionMap[GV->getSection()]; in WriteModuleInfo()
464 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV->getSection(), in WriteModuleInfo()
472 unsigned &Entry = SectionMap[F->getSection()]; in WriteModuleInfo()
474 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, F->getSection(), in WriteModuleInfo()
532 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0); in WriteModuleInfo()
557 Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0); in WriteModuleInfo()
/frameworks/compile/slang/BitWriter_2_9_func/
DBitcodeWriter.cpp414 unsigned &Entry = SectionMap[GV->getSection()]; in WriteModuleInfo()
416 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, GV->getSection(), in WriteModuleInfo()
426 unsigned &Entry = SectionMap[F->getSection()]; in WriteModuleInfo()
428 WriteStringRecord(bitc::MODULE_CODE_SECTIONNAME, F->getSection(), in WriteModuleInfo()
486 Vals.push_back(GV->hasSection() ? SectionMap[GV->getSection()] : 0); in WriteModuleInfo()
511 Vals.push_back(F->hasSection() ? SectionMap[F->getSection()] : 0); in WriteModuleInfo()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocationFactory.cpp140 return pParent.getTarget().getGOT().getSection().addr() + 0x7FF0; in helper_GetGP()
DMipsLDBackend.cpp464 m_pGpDispSymbol->setValue(m_pGOT->getSection().addr() + 0x7FF0); in finalizeSymbol()
/frameworks/compile/mclinker/lib/Target/
DGNULDBackend.cpp809 LDSection* interp = pContext.getSection(".interp"); in createProgramHdrs()
852 LDSection* dynamic = pContext.getSection(".dynamic"); in createProgramHdrs()