Lines Matching refs:pParent

43   static bool HasSubType(const Relocation& pParent, Relocation::Type pType)
48 for (Relocation::Type type = pParent.type();
57 MipsRelocationInfo(Relocation& pParent, bool pIsRel)
58 : m_Parent(&pParent),
59 m_Type(pParent.type()),
61 m_Symbol(pParent.symValue()),
62 m_Result(pParent.target())
66 m_Addend = pParent.target();
68 m_Addend = pParent.addend();
133 MipsRelocationInfo(Relocation& pParent, Relocation::Type pType,
136 : m_Parent(&pParent),
155 MipsRelocator& pParent);
175 MipsRelocator::MipsRelocator(MipsGNULDBackend& pParent,
178 m_Target(pParent),
755 Mips32Relocator::Mips32Relocator(Mips32GNULDBackend& pParent,
757 : MipsRelocator(pParent, pConfig)
771 Mips64Relocator::Mips64Relocator(Mips64GNULDBackend& pParent,
773 : MipsRelocator(pParent, pConfig)
795 MipsRelocator::Result none(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
802 MipsRelocator::Result abs32(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
820 pParent.createDynRel(pReloc);
833 MipsRelocator::Result rel26(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
840 ? pParent.getPLTAddress(*rsym)
857 MipsRelocator::Result hi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
859 uint64_t AHL = pParent.calcAHL(pReloc);
861 if (pParent.isGpDisp(pReloc.parent())) {
863 int32_t GP = pParent.getGPAddress();
868 if (pParent.isN64ABI())
881 MipsRelocator::Result lo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
888 if (pParent.isGpDisp(pReloc.parent())) {
890 int32_t GP = pParent.getGPAddress();
898 pParent.applyPostponedRelocations(pReloc);
907 MipsRelocator::Result gprel16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
912 uint64_t GP0 = pParent.getGP0();
913 uint64_t GP = pParent.getGPAddress();
928 MipsRelocator::Result got16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
931 int32_t AHL = pParent.calcAHL(pReloc);
935 MipsGOT& got = pParent.getTarget().getGOT();
937 Fragment& got_entry = pParent.getLocalGOTEntry(pReloc, res);
939 pReloc.result() = got.getGPRelOffset(pParent.getApplyingInput(), got_entry);
942 pReloc.result() = pParent.getGOTOffset(pReloc);
951 MipsRelocator::Result gothi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
953 Relocator::Address G = pParent.getGOTOffset(pReloc);
964 MipsRelocator::Result gotlo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
966 pReloc.result() = pParent.getGOTOffset(pReloc) & 0xffff;
974 MipsRelocator::Result sub(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
986 MipsRelocator::Result call16(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
988 pReloc.result() = pParent.getGOTOffset(pReloc);
995 MipsRelocator::Result gprel32(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1000 uint64_t GP0 = pParent.getGP0();
1001 uint64_t GP = pParent.getGPAddress();
1010 MipsRelocator::Result abs64(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1030 pParent.createDynRel(pReloc);
1041 MipsRelocator::Result gotdisp(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1043 pReloc.result() = pParent.getGOTOffset(pReloc);
1050 MipsRelocator::Result gotoff(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1058 MipsRelocator::Result jalr(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1065 MipsRelocator::Result la25lui(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1076 MipsRelocator::Result la25j(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1087 MipsRelocator::Result la25add(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1096 MipsRelocator::Result pc32(MipsRelocationInfo& pReloc, MipsRelocator& pParent)
1102 MipsRelocator::Result unsupport(MipsRelocationInfo& pReloc, MipsRelocator& pParent)