• Home
  • Raw
  • Download

Lines Matching refs:pSym

869 void GNULDBackend::emitSymbol32(llvm::ELF::Elf32_Sym& pSym,  in emitSymbol32()  argument
877 pSym.st_name = pStrtabsize; in emitSymbol32()
880 pSym.st_name = 0; in emitSymbol32()
882 pSym.st_value = pSymbol.value(); in emitSymbol32()
883 pSym.st_size = getSymbolSize(pSymbol); in emitSymbol32()
884 pSym.st_info = getSymbolInfo(pSymbol); in emitSymbol32()
885 pSym.st_other = pSymbol.visibility(); in emitSymbol32()
886 pSym.st_shndx = getSymbolShndx(pSymbol); in emitSymbol32()
890 void GNULDBackend::emitSymbol64(llvm::ELF::Elf64_Sym& pSym, in emitSymbol64() argument
898 pSym.st_name = pStrtabsize; in emitSymbol64()
901 pSym.st_name = 0; in emitSymbol64()
903 pSym.st_value = pSymbol.value(); in emitSymbol64()
904 pSym.st_size = getSymbolSize(pSymbol); in emitSymbol64()
905 pSym.st_info = getSymbolInfo(pSymbol); in emitSymbol64()
906 pSym.st_other = pSymbol.visibility(); in emitSymbol64()
907 pSym.st_shndx = getSymbolShndx(pSymbol); in emitSymbol64()
1288 bool GNULDBackend::hasEntryInStrTab(const LDSymbol& pSym) const { in hasEntryInStrTab()
1289 return ResolveInfo::Section != pSym.type(); in hasEntryInStrTab()
2700 bool GNULDBackend::isSymbolPreemptible(const ResolveInfo& pSym) const { in isSymbolPreemptible()
2701 if (pSym.other() != ResolveInfo::Default) in isSymbolPreemptible()
2719 if (pSym.isDefine() && pSym.binding() == ResolveInfo::Local) in isSymbolPreemptible()
2726 bool GNULDBackend::symbolNeedsDynRel(const ResolveInfo& pSym, in symbolNeedsDynRel() argument
2731 if (pSym.isUndef() && !pSym.isDyn() && in symbolNeedsDynRel()
2739 if (pSym.isAbsolute() && in symbolNeedsDynRel()
2740 (pSym.binding() == ResolveInfo::Local || config().isCodeStatic())) in symbolNeedsDynRel()
2744 if (pSymHasPLT && ResolveInfo::Function == pSym.type()) in symbolNeedsDynRel()
2748 if (pSym.isDyn() || pSym.isUndef() || isSymbolPreemptible(pSym)) in symbolNeedsDynRel()
2755 bool GNULDBackend::symbolNeedsPLT(const ResolveInfo& pSym) const { in symbolNeedsPLT()
2756 if (pSym.isUndef() && !pSym.isDyn() && in symbolNeedsPLT()
2761 if (pSym.type() == ResolveInfo::IndirectFunc) in symbolNeedsPLT()
2764 if (pSym.type() != ResolveInfo::Function) in symbolNeedsPLT()
2773 return (pSym.isDyn() || pSym.isUndef() || isSymbolPreemptible(pSym)); in symbolNeedsPLT()
2778 bool GNULDBackend::symbolFinalValueIsKnown(const ResolveInfo& pSym) const { in symbolFinalValueIsKnown()
2788 if (pSym.isDyn()) in symbolFinalValueIsKnown()
2793 if (!pSym.isUndef()) in symbolFinalValueIsKnown()
2804 const ResolveInfo& pSym) const { in symbolNeedsCopyReloc()
2807 if (config().isCodeIndep() || !pSym.isDyn() || in symbolNeedsCopyReloc()
2808 pSym.type() == ResolveInfo::Function || pSym.size() == 0) in symbolNeedsCopyReloc()