Lines Matching refs:pParent

29   static bool HasSubType(const Relocation& pParent, Relocation::Type pType) {
33 for (Relocation::Type type = pParent.type();
43 MipsRelocationInfo(Relocation& pParent, bool pIsRel)
44 : m_Parent(&pParent),
45 m_Type(pParent.type()),
46 m_Addend(pIsRel ? pParent.target() : pParent.addend()),
47 m_Symbol(pParent.symValue()),
48 m_Result(pParent.target()) {}
81 MipsRelocationInfo(Relocation& pParent, Relocation::Type pType,
83 : m_Parent(&pParent),
91 MipsRelocator& pParent) {
93 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL && "PLT entry exists");
95 MipsGNULDBackend& backend = pParent.getTarget();
97 pParent.getSymPLTMap().record(*rsym, *pltEntry);
99 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL &&
102 pParent.getSymGOTPLTMap().record(*rsym, *gotpltEntry);
111 MipsRelocator& pParent) {
112 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym);
114 return pParent.getTarget().getPLT().addr() + plt_entry->getOffset();
124 MipsRelocator& pParent);
141 MipsRelocator::MipsRelocator(MipsGNULDBackend& pParent,
144 m_Target(pParent),
758 Mips32Relocator::Mips32Relocator(Mips32GNULDBackend& pParent,
760 : MipsRelocator(pParent, pConfig) {
794 Mips64Relocator::Mips64Relocator(Mips64GNULDBackend& pParent,
796 : MipsRelocator(pParent, pConfig) {
838 MipsRelocator& pParent) {
844 MipsRelocator& pParent) {
862 pParent.createDynRel(pReloc);
875 MipsRelocator& pParent) {
878 int32_t A = pParent.isN64ABI() ? pReloc.A() : (pReloc.A() & 0x03FFFFFF) << 2;
881 ? helper_get_PLT_address(*rsym, pParent)
898 MipsRelocator& pParent) {
899 uint64_t AHL = pParent.calcAHL(pReloc);
901 if (pParent.isGpDisp(pReloc.parent())) {
903 int32_t GP = pParent.getGPAddress();
907 if (pParent.isN64ABI())
920 MipsRelocator& pParent) {
926 if (pParent.isGpDisp(pReloc.parent())) {
928 int32_t GP = pParent.getGPAddress();
935 pParent.applyPostponedRelocations(pReloc);
944 MipsRelocator& pParent) {
948 uint64_t GP0 = pParent.getGP0();
949 uint64_t GP = pParent.getGPAddress();
964 MipsRelocator& pParent) {
966 int32_t AHL = pParent.calcAHL(pReloc);
970 MipsGOT& got = pParent.getTarget().getGOT();
972 Fragment& got_entry = pParent.getLocalGOTEntry(pReloc, res);
974 pReloc.result() = got.getGPRelOffset(pParent.getApplyingInput(), got_entry);
976 pReloc.result() = pParent.getGOTOffset(pReloc);
985 MipsRelocator& pParent) {
986 Relocator::Address G = pParent.getGOTOffset(pReloc);
997 MipsRelocator& pParent) {
998 pReloc.result() = pParent.getGOTOffset(pReloc) & 0xffff;
1006 MipsRelocator& pParent) {
1017 MipsRelocator& pParent) {
1018 pReloc.result() = pParent.getGOTOffset(pReloc);
1025 MipsRelocator& pParent) {
1029 uint64_t GP0 = pParent.getGP0();
1030 uint64_t GP = pParent.getGPAddress();
1039 MipsRelocator& pParent) {
1059 pParent.createDynRel(pReloc);
1070 MipsRelocator& pParent) {
1071 pReloc.result() = pParent.getGOTOffset(pReloc);
1078 MipsRelocator& pParent) {
1085 MipsRelocator& pParent) {
1091 MipsRelocator& pParent) {
1101 MipsRelocator& pParent) {
1111 MipsRelocator& pParent) {
1121 MipsRelocator& pParent) {
1131 MipsRelocator& pParent) {
1141 MipsRelocator& pParent) {
1151 MipsRelocator& pParent) {
1152 uint64_t AHL = pParent.calcAHL(pReloc);
1161 MipsRelocator& pParent) {
1166 pParent.applyPostponedRelocations(pReloc);
1174 MipsRelocator& pParent) {
1177 A -= pParent.getTPOffset();
1179 A -= pParent.getDTPOffset();
1183 if (pParent.isGpDisp(pReloc.parent()))
1195 MipsRelocator& pParent) {
1198 A -= pParent.getTPOffset();
1200 A -= pParent.getDTPOffset();
1204 if (pParent.isGpDisp(pReloc.parent()))
1214 MipsRelocator& pParent) {
1215 pReloc.result() = pParent.getTLSGOTOffset(pReloc);
1220 MipsRelocator& pParent) {