Lines Matching refs:pFormat
26 void MipsELFDynamic::reserveTargetEntries(const ELFFileFormat& pFormat) { in reserveTargetEntries() argument
27 if (pFormat.hasGOT()) in reserveTargetEntries()
37 if (pFormat.hasGOTPLT()) in reserveTargetEntries()
41 void MipsELFDynamic::applyTargetEntries(const ELFFileFormat& pFormat) { in applyTargetEntries() argument
42 if (pFormat.hasGOT()) in applyTargetEntries()
43 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOT().addr()); in applyTargetEntries()
48 applyOne(llvm::ELF::DT_MIPS_LOCAL_GOTNO, getLocalGotNum(pFormat)); in applyTargetEntries()
49 applyOne(llvm::ELF::DT_MIPS_SYMTABNO, getSymTabNum(pFormat)); in applyTargetEntries()
50 applyOne(llvm::ELF::DT_MIPS_GOTSYM, getGotSym(pFormat)); in applyTargetEntries()
52 if (pFormat.hasGOTPLT()) in applyTargetEntries()
53 applyOne(llvm::ELF::DT_MIPS_PLTGOT, pFormat.getGOTPLT().addr()); in applyTargetEntries()
56 size_t MipsELFDynamic::getSymTabNum(const ELFFileFormat& pFormat) const { in getSymTabNum()
57 if (!pFormat.hasDynSymTab()) in getSymTabNum()
60 const LDSection& dynsym = pFormat.getDynSymTab(); in getSymTabNum()
64 size_t MipsELFDynamic::getGotSym(const ELFFileFormat& pFormat) const { in getGotSym()
65 if (!pFormat.hasGOT()) in getGotSym()
68 return getSymTabNum(pFormat) - m_pParent.getGOT().getGlobalNum(); in getGotSym()
71 size_t MipsELFDynamic::getLocalGotNum(const ELFFileFormat& pFormat) const { in getLocalGotNum()
72 if (!pFormat.hasGOT()) in getLocalGotNum()