Searched refs:pParent (Results 1 - 25 of 53) sorted by relevance

123

/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64RelocationHelpers.h97 helper_get_PLT_address(ResolveInfo& pSym, AArch64Relocator& pParent) argument
99 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym);
101 return pParent.getTarget().getPLT().addr() + plt_entry->getOffset();
105 helper_PLT_init(Relocation& pReloc, AArch64Relocator& pParent) argument
109 AArch64GNULDBackend& ld_backend = pParent.getTarget();
110 assert(NULL == pParent.getSymPLTMap().lookUp(*rsym));
113 pParent.getSymPLTMap().record(*rsym, *plt_entry);
116 assert(NULL == pParent.getSymGOTPLTMap().lookUp(*rsym) &&
119 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry);
135 AArch64Relocator& pParent)
131 helper_DynRela_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, AArch64Relocator& pParent) argument
152 helper_use_relative_reloc(const ResolveInfo& pSym, const AArch64Relocator& pParent) argument
165 helper_get_GOT_address(ResolveInfo& pSym, AArch64Relocator& pParent) argument
173 helper_GOT_ORG(AArch64Relocator& pParent) argument
179 helper_GOT_init(Relocation& pReloc, bool pHasRel, AArch64Relocator& pParent) argument
[all...]
H A DAArch64ELFDynamic.h18 AArch64ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DAArch64ELFDynamic.cpp16 AArch64ELFDynamic::AArch64ELFDynamic(const GNULDBackend& pParent, argument
18 : ELFDynamic(pParent, pConfig)
H A DAArch64GOT.h29 AArch64GOTEntry(uint64_t pContent, SectionData* pParent) argument
30 : GOT::Entry<8>(pContent, pParent)
H A DAArch64Relocator.cpp35 AArch64Relocator& pParent);
63 AArch64Relocator::AArch64Relocator(AArch64GNULDBackend& pParent, argument
66 m_Target(pParent) {
413 Relocator::Result none(Relocation& pReloc, AArch64Relocator& pParent) argument
418 Relocator::Result unsupport(Relocation& pReloc, AArch64Relocator& pParent) argument
426 Relocator::Result abs(Relocation& pReloc, AArch64Relocator& pParent) argument
431 Relocation* dyn_rel = pParent.getRelRelMap().lookUp(pReloc);
449 S = helper_get_PLT_address(*rsym, pParent);
474 Relocator::Result rel(Relocation& pReloc, AArch64Relocator& pParent) argument
482 A += pReloc.target() & get_mask(pParent
508 add_abs_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument
523 adr_prel_pg_hi21(Relocation& pReloc, AArch64Relocator& pParent) argument
543 call(Relocation& pReloc, AArch64Relocator& pParent) argument
574 condbr(Relocation& pReloc, AArch64Relocator& pParent) argument
605 adr_got_page(Relocation& pReloc, AArch64Relocator& pParent) argument
632 ld64_got_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument
663 ldst_abs_lo12(Relocation& pReloc, AArch64Relocator& pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOT.h25 X86_32GOTEntry(uint64_t pContent, SectionData* pParent) argument
26 : GOT::Entry<4>(pContent, pParent)
50 X86_64GOTEntry(uint64_t pContent, SectionData* pParent) argument
51 : GOT::Entry<8>(pContent, pParent)
H A DX86ELFDynamic.cpp15 X86ELFDynamic::X86ELFDynamic(const GNULDBackend& pParent, argument
17 : ELFDynamic(pParent, pConfig)
H A DX86ELFDynamic.h19 X86ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DX86Relocator.cpp36 X86_32Relocator& pParent)
38 X86_32GNULDBackend& ld_backend = pParent.getTarget();
68 X86_32Relocator& pParent)
72 X86_32GNULDBackend& ld_backend = pParent.getTarget();
73 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym));
76 pParent.getSymGOTMap().record(*rsym, *got_entry);
84 if (helper_use_relative_reloc(*rsym, pParent)) {
86 pParent);
91 pParent);
99 Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) argument
32 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, X86_32Relocator& pParent) argument
66 helper_GOT_init(Relocation& pReloc, bool pHasRel, X86_32Relocator& pParent) argument
105 helper_get_GOT_address(Relocation& pReloc, X86_32Relocator& pParent) argument
114 helper_PLT_init(Relocation& pReloc, X86_32Relocator& pParent) argument
139 helper_get_PLT_address(ResolveInfo& pSym, X86_32Relocator& pParent) argument
298 X86_32Relocator(X86_32GNULDBackend& pParent, const LinkerConfig& pConfig) argument
874 none(Relocation& pReloc, X86_32Relocator& pParent) argument
882 abs(Relocation& pReloc, X86_32Relocator& pParent) argument
923 rel(Relocation& pReloc, X86_32Relocator& pParent) argument
959 gotoff32(Relocation& pReloc, X86_32Relocator& pParent) argument
970 gotpc32(Relocation& pReloc, X86_32Relocator& pParent) argument
980 got32(Relocation& pReloc, X86_32Relocator& pParent) argument
1002 plt32(Relocation& pReloc, X86_32Relocator& pParent) argument
1017 tls_gd(Relocation& pReloc, X86_32Relocator& pParent) argument
1049 tls_ldm(Relocation& pReloc, X86_32Relocator& pParent) argument
1065 tls_ldo_32(Relocation& pReloc, X86_32Relocator& pParent) argument
1075 tls_ie(Relocation& pReloc, X86_32Relocator& pParent) argument
1096 tls_gotie(Relocation& pReloc, X86_32Relocator& pParent) argument
1117 tls_le(Relocation& pReloc, X86_32Relocator& pParent) argument
1135 unsupport(Relocation& pReloc, X86_32Relocator& pParent) argument
1145 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, X86_64Relocator& pParent) argument
1180 helper_GOT_init(Relocation& pReloc, bool pHasRel, X86_64Relocator& pParent) argument
1215 helper_GOT_ORG(X86_64Relocator& pParent) argument
1221 helper_get_GOT_address(Relocation& pReloc, X86_64Relocator& pParent) argument
1230 helper_get_PLT_address(ResolveInfo& pSym, X86_64Relocator& pParent) argument
1239 helper_PLT_init(Relocation& pReloc, X86_64Relocator& pParent) argument
1289 X86_64Relocator(X86_64GNULDBackend& pParent, const LinkerConfig& pConfig) argument
1573 none(Relocation& pReloc, X86_64Relocator& pParent) argument
1582 abs(Relocation& pReloc, X86_64Relocator& pParent) argument
1630 signed32(Relocation& pReloc, X86_64Relocator& pParent) argument
1661 gotpcrel(Relocation& pReloc, X86_64Relocator& pParent) argument
1687 plt32(Relocation& pReloc, X86_64Relocator& pParent) argument
1704 rel(Relocation& pReloc, X86_64Relocator& pParent) argument
1743 unsupport(Relocation& pReloc, X86_64Relocator& pParent) argument
[all...]
H A DX86PLT.h66 X86_32DynPLT0(SectionData& pParent);
72 X86_32DynPLT1(SectionData& pParent);
78 X86_32ExecPLT0(SectionData& pParent);
84 X86_32ExecPLT1(SectionData& pParent);
93 X86_64PLT0(SectionData& pParent);
99 X86_64PLT1(SectionData& pParent);
H A DX86PLT.cpp24 X86_32DynPLT0::X86_32DynPLT0(SectionData& pParent) argument
25 : PLT::Entry<sizeof(x86_32_dyn_plt0)>(pParent)
29 X86_32DynPLT1::X86_32DynPLT1(SectionData& pParent) argument
30 : PLT::Entry<sizeof(x86_32_dyn_plt1)>(pParent)
34 X86_32ExecPLT0::X86_32ExecPLT0(SectionData& pParent) argument
35 : PLT::Entry<sizeof(x86_32_exec_plt0)>(pParent)
39 X86_32ExecPLT1::X86_32ExecPLT1(SectionData& pParent) argument
40 : PLT::Entry<sizeof(x86_32_exec_plt1)>(pParent)
44 X86_64PLT0::X86_64PLT0(SectionData& pParent) argument
45 : PLT::Entry<sizeof(x86_64_plt0)>(pParent)
49 X86_64PLT1(SectionData& pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMELFDynamic.cpp15 ARMELFDynamic::ARMELFDynamic(const GNULDBackend& pParent, argument
17 : ELFDynamic(pParent, pConfig)
H A DARMELFDynamic.h18 ARMELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DARMGOT.h27 ARMGOTEntry(uint64_t pContent, SectionData* pParent) argument
28 : GOT::Entry<4>(pContent, pParent)
H A DARMPLT.h41 ARMPLT0(SectionData& pParent);
47 ARMPLT1(SectionData& pParent);
H A DARMRelocator.cpp83 ARMRelocator& pParent)
85 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym);
87 return pParent.getTarget().getGOT().addr() + got_entry->getOffset();
93 ARMRelocator& pParent)
97 ARMGNULDBackend& ld_backend = pParent.getTarget();
98 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym));
101 pParent.getSymGOTMap().record(*rsym, *got_entry);
110 if (rsym->isLocal() || helper_use_relative_reloc(*rsym, pParent)) {
128 Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) argument
130 return pParent
82 helper_get_GOT_address(ResolveInfo& pSym, ARMRelocator& pParent) argument
91 helper_GOT_init(Relocation& pReloc, bool pHasRel, ARMRelocator& pParent) argument
134 helper_get_PLT_address(ResolveInfo& pSym, ARMRelocator& pParent) argument
143 helper_PLT_init(Relocation& pReloc, ARMRelocator& pParent) argument
171 helper_DynRel_init(Relocation& pReloc, Relocator::Type pType, ARMRelocator& pParent) argument
341 ARMRelocator(ARMGNULDBackend& pParent, const LinkerConfig& pConfig) argument
833 none(Relocation& pReloc, ARMRelocator& pParent) argument
839 abs32(Relocation& pReloc, ARMRelocator& pParent) argument
876 rel32(Relocation& pReloc, ARMRelocator& pParent) argument
901 base_prel(Relocation& pReloc, ARMRelocator& pParent) argument
910 gotoff32(Relocation& pReloc, ARMRelocator& pParent) argument
924 got_brel(Relocation& pReloc, ARMRelocator& pParent) argument
943 got_prel(Relocation& pReloc, ARMRelocator& pParent) argument
963 thm_jump8(Relocation& pReloc, ARMRelocator& pParent) argument
982 thm_jump11(Relocation& pReloc, ARMRelocator& pParent) argument
1001 thm_jump19(Relocation& pReloc, ARMRelocator& pParent) argument
1046 call(Relocation& pReloc, ARMRelocator& pParent) argument
1102 thm_call(Relocation& pReloc, ARMRelocator& pParent) argument
1174 movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1204 movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1224 movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument
1250 movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument
1264 thm_movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1299 thm_movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1324 thm_movw_brel(Relocation& pReloc, ARMRelocator& pParent) argument
1349 thm_movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument
1386 thm_movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument
1408 prel31(Relocation& pReloc, ARMRelocator& pParent) argument
1434 tls(Relocation& pReloc, ARMRelocator& pParent) argument
1439 unsupport(Relocation& pReloc, ARMRelocator& pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonELFDynamic.cpp15 HexagonELFDynamic::HexagonELFDynamic(const GNULDBackend& pParent, argument
17 : ELFDynamic(pParent, pConfig) {
H A DHexagonGOT.h25 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) argument
26 : GOT::Entry<4>(pContent, pParent)
H A DHexagonELFDynamic.h19 HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DHexagonRelocator.cpp30 HexagonRelocator &pParent) {
31 HexagonLDBackend &ld_backend = pParent.getTarget();
56 HexagonRelocator &pParent) {
59 HexagonLDBackend &ld_backend = pParent.getTarget();
60 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym));
63 pParent.getSymGOTMap().record(*rsym, *got_entry);
71 if (helper_use_relative_reloc(*rsym, pParent)) {
73 pParent);
78 pParent);
86 HexagonRelocator &pParent) {
26 helper_DynRel_init(ResolveInfo *pSym, Fragment &pFrag, uint64_t pOffset, Relocator::Type pType, HexagonRelocator &pParent) argument
54 helper_GOT_init(Relocation &pReloc, bool pHasRel, HexagonRelocator &pParent) argument
85 helper_get_GOT_address(ResolveInfo &pSym, HexagonRelocator &pParent) argument
92 helper_PLT_init(Relocation &pReloc, HexagonRelocator &pParent) argument
115 helper_get_PLT_address(ResolveInfo& pSym, HexagonRelocator &pParent) argument
168 HexagonRelocator(HexagonLDBackend &pParent, const LinkerConfig &pConfig) argument
483 none(Relocation &pReloc, HexagonRelocator &pParent) argument
680 relocAbs(Relocation &pReloc, HexagonRelocator &pParent) argument
720 relocPCREL(Relocation &pReloc, HexagonRelocator &pParent) argument
752 relocGPREL(Relocation &pReloc, HexagonRelocator &pParent) argument
802 relocPLTB22PCREL(Relocation &pReloc, HexagonRelocator &pParent) argument
820 relocGOT(Relocation &pReloc, HexagonRelocator &pParent) argument
899 relocGOTREL(Relocation &pReloc, HexagonRelocator &pParent) argument
950 unsupport(Relocation &pReloc, HexagonRelocator &pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DFragment.cpp25 Fragment::Fragment(Type pKind, SectionData *pParent) argument
26 : m_Kind(pKind), m_pParent(pParent), m_Offset(~uint64_t(0)) {
/frameworks/compile/mclinker/include/mcld/Target/
H A DPLT.h27 PLTEntryBase(SectionData& pParent) argument
28 : TargetFragment(Fragment::Target, &pParent), m_pValue(NULL)
66 Entry(SectionData& pParent) argument
67 : EntryBase(pParent)
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.cpp43 static bool HasSubType(const Relocation& pParent, Relocation::Type pType) argument
48 for (Relocation::Type type = pParent.type();
57 MipsRelocationInfo(Relocation& pParent, bool pIsRel) argument
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, Relocatio argument
175 MipsRelocator(MipsGNULDBackend& pParent, const LinkerConfig& pConfig) argument
755 Mips32Relocator(Mips32GNULDBackend& pParent, const LinkerConfig& pConfig) argument
771 Mips64Relocator(Mips64GNULDBackend& pParent, const LinkerConfig& pConfig) argument
795 none(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
802 abs32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
833 rel26(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
857 hi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
881 lo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
907 gprel16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
928 got16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
951 gothi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
964 gotlo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
974 sub(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
986 call16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
995 gprel32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1010 abs64(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1041 gotdisp(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1050 gotoff(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1058 jalr(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1065 la25lui(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1076 la25j(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1087 la25add(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1096 pc32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1102 unsupport(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
[all...]
H A DMipsELFDynamic.h21 MipsELFDynamic(const MipsGNULDBackend& pParent, const LinkerConfig& pConfig);
/frameworks/compile/mclinker/lib/MC/
H A DAttribute.cpp51 AttributeProxy::AttributeProxy(AttributeSet& pParent, argument
54 : m_AttrPool(pParent), m_pBase(&pBase), m_Constraint(pConstraint) {
101 static inline void ReplaceOrRecord(AttributeSet& pParent, argument
105 Attribute *result = pParent.exists(*pCopy);
107 pParent.record(*pCopy);

Completed in 229 milliseconds

123