Home | History | Annotate | Download | only in Mips

Lines Matching refs:pFormat

28 void MipsELFDynamic::reserveTargetEntries(const ELFFileFormat& pFormat)
30 if (pFormat.hasGOT())
40 if (pFormat.hasGOTPLT())
44 void MipsELFDynamic::applyTargetEntries(const ELFFileFormat& pFormat)
46 if (pFormat.hasGOT())
47 applyOne(llvm::ELF::DT_PLTGOT, pFormat.getGOT().addr());
52 applyOne(llvm::ELF::DT_MIPS_LOCAL_GOTNO, getLocalGotNum(pFormat));
53 applyOne(llvm::ELF::DT_MIPS_SYMTABNO, getSymTabNum(pFormat));
54 applyOne(llvm::ELF::DT_MIPS_GOTSYM, getGotSym(pFormat));
56 if (pFormat.hasGOTPLT())
57 applyOne(llvm::ELF::DT_MIPS_PLTGOT, pFormat.getGOTPLT().addr());
60 size_t MipsELFDynamic::getSymTabNum(const ELFFileFormat& pFormat) const
62 if (!pFormat.hasDynSymTab())
65 const LDSection& dynsym = pFormat.getDynSymTab();
69 size_t MipsELFDynamic::getGotSym(const ELFFileFormat& pFormat) const
71 if (!pFormat.hasGOT())
74 return getSymTabNum(pFormat) - m_pParent.getGOT().getGlobalNum();
77 size_t MipsELFDynamic::getLocalGotNum(const ELFFileFormat& pFormat) const
79 if (!pFormat.hasGOT())