/frameworks/compile/mclinker/include/mcld/LD/ |
D | LDContext.h | 54 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);
|
D | RelocData.h | 65 const LDSection& getSection() const { return *m_pSection; } in getSection() function 66 LDSection& getSection() { return *m_pSection; } in getSection() function
|
D | SectionData.h | 60 const LDSection& getSection() const { return *m_pSection; } in getSection() function 61 LDSection& getSection() { return *m_pSection; } in getSection() function
|
D | EhFrame.h | 102 const LDSection& getSection() const; 103 LDSection& getSection();
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonLDBackend.cpp | 594 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/ |
D | ObjectBuilder.cpp | 57 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/ |
D | LDContext.cpp | 28 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
|
D | ELFReaderIf.cpp | 58 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()
|
D | ELFReader.cpp | 58 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 …]
|
D | EhFrame.cpp | 80 const LDSection& EhFrame::getSection() const in getSection() function in EhFrame 86 LDSection& EhFrame::getSection() in getSection() function in EhFrame
|
D | Relocator.cpp | 41 input_sym->fragRef()->frag()->getParent()->getSection(); in partialScanRelocation()
|
D | ELFObjectReader.cpp | 138 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()
|
D | ELFDynObjReader.cpp | 95 LDSection* symtab_shdr = pInput.context()->getSection(".dynsym"); in readSymbols()
|
D | ELFObjectWriter.cpp | 241 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/ |
D | SectionDataTest.cpp | 47 EXPECT_TRUE(s->getSection().name() == "test" && \ in TEST_F() 48 s->getSection().kind() == LDFileFormat::Null); in TEST_F()
|
D | ELFReaderTest.cpp | 106 LDSection* symtab_shdr = m_pInput->context()->getSection(".symtab"); in TEST_F()
|
/frameworks/compile/mclinker/lib/Core/ |
D | Module.cpp | 39 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
|
D | IRBuilder.cpp | 406 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/ |
D | Relocation.cpp | 87 Address sect_addr = m_TargetAddress.frag()->getParent()->getSection().addr(); in place() 95 return m_pSymInfo->outSymbol()->fragRef()->frag()->getParent()->getSection().addr(); in symValue()
|
D | FragmentGraph.cpp | 154 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()
|
D | FragmentLinker.cpp | 81 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/ |
D | Module.h | 131 LDSection* getSection(const std::string& pName); 132 const LDSection* getSection(const std::string& pName) const;
|
/frameworks/compile/mclinker/lib/Target/ARM/ |
D | ARMLDBackend.cpp | 427 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()
|
D | ARMRelocator.cpp | 824 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/ |
D | X86Relocator.cpp | 284 &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()
|