Home
last modified time | relevance | path

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

12

/frameworks/compile/mclinker/include/mcld/LD/
DLDContext.h54 const LDSection* getSection(unsigned int pIdx) const;
55 LDSection* getSection(unsigned int pIdx);
57 const LDSection* getSection(const std::string& pName) const;
58 LDSection* getSection(const std::string& pName);
DRelocData.h65 const LDSection& getSection() const { return *m_pSection; } in getSection() function
66 LDSection& getSection() { return *m_pSection; } in getSection() function
DSectionData.h60 const LDSection& getSection() const { return *m_pSection; } in getSection() function
61 LDSection& getSection() { return *m_pSection; } in getSection() function
DEhFrame.h102 const LDSection& getSection() const;
103 LDSection& getSection();
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonLDBackend.cpp594 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax()
725 pTo->getSection().setSize(offset); in SetSDataSection()
909 uint32_t pFromFlag = pFrom.getSection().align(); in MoveCommonData()
923 uint32_t flag = frag->getParent()->getSection().align(); in MoveCommonData()
930 if (pFrom.getSection().align() > 1) { in MoveCommonData()
932 align = new AlignFragment(pFrom.getSection().align(), // alignment in MoveCommonData()
935 pFrom.getSection().align() - 1 // max bytes to emit in MoveCommonData()
950 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection()
951 uint32_t size = pSD.getSection().size(); in readSection()
953 if (pSD.getSection().type() == llvm::ELF::SHT_NOBITS) { in readSection()
[all …]
/frameworks/compile/mclinker/lib/Object/
DObjectBuilder.cpp57 LDSection* target = m_Module.getSection(output_name); in MergeSection()
107 uint32_t offset = pTo.getSection().size(); in MoveSectionData()
109 if (pFrom.getSection().align() > 1) { in MoveSectionData()
111 align = new AlignFragment(pFrom.getSection().align(), // alignment in MoveSectionData()
114 pFrom.getSection().align() - 1 // max bytes to emit in MoveSectionData()
134 pTo.getSection().setSize(offset); in MoveSectionData()
/frameworks/compile/mclinker/lib/LD/
DLDContext.cpp28 LDSection* LDContext::getSection(unsigned int pIdx) in getSection() function in LDContext
35 const LDSection* LDContext::getSection(unsigned int pIdx) const in getSection() function in LDContext
42 LDSection* LDContext::getSection(const std::string& pName) in getSection() function in LDContext
52 const LDSection* LDContext::getSection(const std::string& pName) const in getSection() function in LDContext
DELFReaderIf.cpp58 if (NULL == pInput.context()->getSection(pShndx) || in getSymDesc()
59 LDFileFormat::Ignore == pInput.context()->getSection(pShndx)->kind()) in getSymDesc()
116 LDSection* sect_hdr = pInput.context()->getSection(pShndx); in getSymFragmentRef()
DELFReader.cpp58 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection()
59 uint32_t size = pSD.getSection().size(); in readRegularSection()
112 if (NULL == pInput.context()->getSection(st_shndx)) in readSymbols()
134 section = pInput.context()->getSection(st_shndx); in readSymbols()
460 info->section->setLink(pInput.context()->getSection(info->sh_link)); in readSectionHeaders()
464 info->section->setLink(pInput.context()->getSection(info->sh_info)); in readSectionHeaders()
532 const LDSection* dynamic_sect = pInput.context()->getSection(".dynamic"); in readDynamic()
619 uint64_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readRegularSection()
620 uint64_t size = pSD.getSection().size(); in readRegularSection()
673 if (NULL == pInput.context()->getSection(st_shndx)) in readSymbols()
[all …]
DEhFrame.cpp80 const LDSection& EhFrame::getSection() const in getSection() function in EhFrame
86 LDSection& EhFrame::getSection() in getSection() function in EhFrame
DRelocator.cpp41 input_sym->fragRef()->frag()->getParent()->getSection(); in partialScanRelocation()
DELFObjectReader.cpp138 pInput.context()->getSection(value[index])->setKind(LDFileFormat::Ignore); in readSections()
177 LDSection* link_sect = pInput.context()->getSection(link_index); in readSections()
271 LDSection* symtab_shdr = pInput.context()->getSection(".symtab"); in readSymbols()
DELFDynObjReader.cpp95 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym"); in readSymbols()
DELFObjectWriter.cpp241 header->e_shstrndx = pModule.getSection(".shstrtab")->index(); in writeELFHeader()
452 frag_ref->frag()->getParent()->getSection().addr() + in emitRel()
493 frag_ref->frag()->getParent()->getSection().addr() + in emitRela()
/frameworks/compile/mclinker/unittests/
DSectionDataTest.cpp47 EXPECT_TRUE(s->getSection().name() == "test" && \ in TEST_F()
48 s->getSection().kind() == LDFileFormat::Null); in TEST_F()
DELFReaderTest.cpp106 LDSection* symtab_shdr = m_pInput->context()->getSection(".symtab"); in TEST_F()
/frameworks/compile/mclinker/lib/Core/
DModule.cpp39 LDSection* Module::getSection(const std::string& pName) in getSection() function in Module
49 const LDSection* Module::getSection(const std::string& pName) const in getSection() function in Module
DIRBuilder.cpp406 pSD.getSection().align()); in AppendFragment()
407 pSD.getSection().setSize(pSD.getSection().size() + size); in AppendFragment()
422 pEhFrame.getSection().align()); in AppendEhFrame()
423 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + size); in AppendEhFrame()
431 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + pFDE.size()); in AppendEhFrame()
439 pEhFrame.getSection().setSize(pEhFrame.getSection().size() + pCIE.size()); in AppendEhFrame()
/frameworks/compile/mclinker/lib/Fragment/
DRelocation.cpp87 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place()
95 return m_pSymInfo->outSymbol()->fragRef()->frag()->getParent()->getSection().addr(); in symValue()
DFragmentGraph.cpp154 sym->fragRef()->frag()->getParent()->getSection().kind(); in setNodeSlots()
200 reloc->targetRef().frag()->getParent()->getSection().kind(); in createRegularEdges()
209 sym->outSymbol()->fragRef()->frag()->getParent()->getSection().kind(); in createRegularEdges()
DFragmentLinker.cpp81 uint64_t addr = (*symbol)->fragRef()->frag()->getParent()->getSection().addr(); in finalizeSymbols()
229 pReloc.targetRef().frag()->getParent()->getSection().offset() + in writeRelocationResult()
/frameworks/compile/mclinker/include/mcld/
DModule.h131 LDSection* getSection(const std::string& pName);
132 const LDSection* getSection(const std::string& pName) const;
/frameworks/compile/mclinker/lib/Target/ARM/
DARMLDBackend.cpp427 uint32_t offset = pInput.fileOffset() + pSD.getSection().offset(); in readSection()
428 uint32_t size = pSD.getSection().size(); in readSection()
549 symbol->fragRef()->frag()->getParent()->getSection().addr(); in doRelax()
DARMRelocator.cpp824 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in abs32()
1107 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in movw_abs_nc()
1154 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in movt_abs()
1202 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in thm_movw_abs_nc()
1284 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in thm_movt_abs()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp284 &rsym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in scanLocalReloc()
820 LDSection& target_sect = target_frag->getParent()->getSection(); in abs()
875 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in rel()
996 &rsym->outSymbol()->fragRef()->frag()->getParent()->getSection(); in tls_gd()
1573 LDSection& target_sect = target_frag->getParent()->getSection(); in abs()
1636 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in signed32()
1696 LDSection& target_sect = pReloc.targetRef().frag()->getParent()->getSection(); in rel()

12