Lines Matching refs:GNULDBackend

79 GNULDBackend::GNULDBackend(const LinkerConfig& pConfig, GNUInfo* pInfo)  in GNULDBackend()  function in mcld::GNULDBackend
117 GNULDBackend::~GNULDBackend() { in ~GNULDBackend()
130 size_t GNULDBackend::sectionStartOffset() const { in sectionStartOffset()
148 uint64_t GNULDBackend::getSegmentStartAddr(const LinkerScript& pScript) const { in getSegmentStartAddr()
159 GNUArchiveReader* GNULDBackend::createArchiveReader(Module& pModule) { in createArchiveReader()
164 ELFObjectReader* GNULDBackend::createObjectReader(IRBuilder& pBuilder) { in createObjectReader()
169 ELFDynObjReader* GNULDBackend::createDynObjReader(IRBuilder& pBuilder) { in createDynObjReader()
173 ELFBinaryReader* GNULDBackend::createBinaryReader(IRBuilder& pBuilder) { in createBinaryReader()
177 ELFObjectWriter* GNULDBackend::createWriter() { in createWriter()
181 bool GNULDBackend::initStdSections(ObjectBuilder& pBuilder) { in initStdSections()
213 bool GNULDBackend::initStandardSymbols(IRBuilder& pBuilder, Module& pModule) { in initStandardSymbols()
490 bool GNULDBackend::finalizeStandardSymbols() { in finalizeStandardSymbols()
647 bool GNULDBackend::finalizeTLSSymbol(LDSymbol& pSymbol) { in finalizeTLSSymbol()
662 ELFFileFormat* GNULDBackend::getOutputFormat() { in getOutputFormat()
680 const ELFFileFormat* GNULDBackend::getOutputFormat() const { in getOutputFormat()
699 void GNULDBackend::sizeShstrtab(Module& pModule) { in sizeShstrtab()
712 void GNULDBackend::sizeNamePools(Module& pModule) { in sizeNamePools()
869 void GNULDBackend::emitSymbol32(llvm::ELF::Elf32_Sym& pSym, in emitSymbol32()
890 void GNULDBackend::emitSymbol64(llvm::ELF::Elf64_Sym& pSym, in emitSymbol64()
914 void GNULDBackend::emitRegNamePools(const Module& pModule, in emitRegNamePools()
982 void GNULDBackend::emitDynNamePools(Module& pModule, in emitDynNamePools()
1099 void GNULDBackend::emitELFHashTab(const Module::SymbolTable& pSymtab, in emitELFHashTab()
1137 void GNULDBackend::emitGNUHashTab(Module::SymbolTable& pSymtab, in emitGNUHashTab()
1262 void GNULDBackend::sizeInterp() { in sizeInterp()
1274 void GNULDBackend::emitInterp(FileOutputBuffer& pOutput) { in emitInterp()
1288 bool GNULDBackend::hasEntryInStrTab(const LDSymbol& pSym) const { in hasEntryInStrTab()
1292 void GNULDBackend::orderSymbolTable(Module& pModule) { in orderSymbolTable()
1305 unsigned int GNULDBackend::getSectionOrder(const LDSection& pSectHdr) const { in getSectionOrder()
1405 uint64_t GNULDBackend::getSymbolSize(const LDSymbol& pSymbol) const { in getSymbolSize()
1413 uint64_t GNULDBackend::getSymbolInfo(const LDSymbol& pSymbol) const { in getSymbolInfo()
1441 uint64_t GNULDBackend::getSymbolValue(const LDSymbol& pSymbol) const { in getSymbolValue()
1449 uint64_t GNULDBackend::getSymbolShndx(const LDSymbol& pSymbol) const { in getSymbolShndx()
1466 size_t GNULDBackend::getSymbolIdx(const LDSymbol* pSymbol) const { in getSymbolIdx()
1475 bool GNULDBackend::isTemporary(const LDSymbol& pSymbol) const { in isTemporary()
1503 bool GNULDBackend::allocateCommonSymbols(Module& pModule) { in allocateCommonSymbols()
1598 bool GNULDBackend::updateSectionFlags(LDSection& pTo, const LDSection& pFrom) { in updateSectionFlags()
1617 bool GNULDBackend::readRelocation(const llvm::ELF::Elf32_Rel& pRel, in readRelocation()
1636 bool GNULDBackend::readRelocation(const llvm::ELF::Elf32_Rela& pRel, in readRelocation()
1658 bool GNULDBackend::readRelocation(const llvm::ELF::Elf64_Rel& pRel, in readRelocation()
1677 bool GNULDBackend::readRelocation(const llvm::ELF::Elf64_Rela& pRel, in readRelocation()
1699 void GNULDBackend::emitRelocation(llvm::ELF::Elf32_Rel& pRel, in emitRelocation()
1708 void GNULDBackend::emitRelocation(llvm::ELF::Elf32_Rela& pRel, in emitRelocation()
1719 void GNULDBackend::emitRelocation(llvm::ELF::Elf64_Rel& pRel, in emitRelocation()
1728 void GNULDBackend::emitRelocation(llvm::ELF::Elf64_Rela& pRel, in emitRelocation()
1739 void GNULDBackend::createProgramHdrs(Module& pModule) { in createProgramHdrs()
1890 void GNULDBackend::setupProgramHdrs(const LinkerScript& pScript) { in setupProgramHdrs()
2019 uint32_t GNULDBackend::getSegmentFlag(const uint32_t pSectionFlag) { in getSegmentFlag()
2031 void GNULDBackend::setupGNUStackInfo(Module& pModule) { in setupGNUStackInfo()
2074 void GNULDBackend::setOutputSectionOffset(Module& pModule) { in setOutputSectionOffset()
2106 void GNULDBackend::setOutputSectionAddress(Module& pModule) { in setOutputSectionAddress()
2294 void GNULDBackend::placeOutputSections(Module& pModule) { in placeOutputSections()
2444 void GNULDBackend::layout(Module& pModule) { in layout()
2478 void GNULDBackend::createAndSizeEhFrameHdr(Module& pModule) { in createAndSizeEhFrameHdr()
2491 bool GNULDBackend::mayHaveUnsafeFunctionPointerAccess( in mayHaveUnsafeFunctionPointerAccess()
2501 void GNULDBackend::preLayout(Module& pModule, IRBuilder& pBuilder) { in preLayout()
2572 void GNULDBackend::postLayout(Module& pModule, IRBuilder& pBuilder) { in postLayout()
2583 void GNULDBackend::postProcessing(FileOutputBuffer& pOutput) { in postProcessing()
2592 unsigned GNULDBackend::getHashBucketCount(unsigned pNumOfSymbols, in getHashBucketCount()
2614 unsigned GNULDBackend::getGNUHashMaskbitslog2(unsigned pNumOfSymbols) const { in getGNUHashMaskbitslog2()
2633 bool GNULDBackend::isDynamicSymbol(const LDSymbol& pSymbol) const { in isDynamicSymbol()
2652 bool GNULDBackend::isDynamicSymbol(const ResolveInfo& pResolveInfo) const { in isDynamicSymbol()
2671 ELFSegmentFactory& GNULDBackend::elfSegmentTable() { in elfSegmentTable()
2677 const ELFSegmentFactory& GNULDBackend::elfSegmentTable() const { in elfSegmentTable()
2683 uint64_t GNULDBackend::commonPageSize() const { in commonPageSize()
2691 uint64_t GNULDBackend::abiPageSize() const { in abiPageSize()
2700 bool GNULDBackend::isSymbolPreemptible(const ResolveInfo& pSym) const { in isSymbolPreemptible()
2726 bool GNULDBackend::symbolNeedsDynRel(const ResolveInfo& pSym, in symbolNeedsDynRel()
2755 bool GNULDBackend::symbolNeedsPLT(const ResolveInfo& pSym) const { in symbolNeedsPLT()
2778 bool GNULDBackend::symbolFinalValueIsKnown(const ResolveInfo& pSym) const { in symbolFinalValueIsKnown()
2803 bool GNULDBackend::symbolNeedsCopyReloc(const Relocation& pReloc, in symbolNeedsCopyReloc()
2824 LDSymbol& GNULDBackend::getTDATASymbol() { in getTDATASymbol()
2829 const LDSymbol& GNULDBackend::getTDATASymbol() const { in getTDATASymbol()
2834 LDSymbol& GNULDBackend::getTBSSSymbol() { in getTBSSSymbol()
2839 const LDSymbol& GNULDBackend::getTBSSSymbol() const { in getTBSSSymbol()
2844 llvm::StringRef GNULDBackend::getEntry(const Module& pModule) const { in getEntry()
2851 void GNULDBackend::checkAndSetHasTextRel(const LDSection& pSection) { in checkAndSetHasTextRel()
2866 void GNULDBackend::sortRelocation(LDSection& pSection) { in sortRelocation()
2885 unsigned GNULDBackend::stubGroupSize() const { in stubGroupSize()
2895 bool GNULDBackend::initBRIslandFactory() { in initBRIslandFactory()
2905 bool GNULDBackend::initStubFactory() { in initStubFactory()
2912 bool GNULDBackend::relax(Module& pModule, IRBuilder& pBuilder) { in relax()
2928 bool GNULDBackend::DynsymCompare::needGNUHash(const LDSymbol& X) const { in needGNUHash()
2935 bool GNULDBackend::DynsymCompare::operator()(const LDSymbol* X, in operator ()()
2940 bool GNULDBackend::RelocCompare::operator()(const Relocation& X, in operator ()()