Home
last modified time | relevance | path

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

123

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h97 helper_get_PLT_address(ResolveInfo& pSym, AArch64Relocator& pParent) in helper_get_PLT_address() argument
99 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym); in helper_get_PLT_address()
101 return pParent.getTarget().getPLT().addr() + plt_entry->getOffset(); in helper_get_PLT_address()
105 helper_PLT_init(Relocation& pReloc, AArch64Relocator& pParent) in helper_PLT_init() argument
109 AArch64GNULDBackend& ld_backend = pParent.getTarget(); in helper_PLT_init()
110 assert(NULL == pParent.getSymPLTMap().lookUp(*rsym)); in helper_PLT_init()
113 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
116 assert(NULL == pParent.getSymGOTPLTMap().lookUp(*rsym) && in helper_PLT_init()
119 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry); in helper_PLT_init()
135 AArch64Relocator& pParent) in helper_DynRela_init() argument
[all …]
DAArch64Relocator.cpp35 AArch64Relocator& pParent);
63 AArch64Relocator::AArch64Relocator(AArch64GNULDBackend& pParent, in AArch64Relocator() argument
66 m_Target(pParent) { in AArch64Relocator()
413 Relocator::Result none(Relocation& pReloc, AArch64Relocator& pParent) in none() argument
418 Relocator::Result unsupport(Relocation& pReloc, AArch64Relocator& pParent) in unsupport() argument
426 Relocator::Result abs(Relocation& pReloc, AArch64Relocator& pParent) in abs() argument
431 Relocation* dyn_rel = pParent.getRelRelMap().lookUp(pReloc); in abs()
449 S = helper_get_PLT_address(*rsym, pParent); in abs()
474 Relocator::Result rel(Relocation& pReloc, AArch64Relocator& pParent) in rel() argument
482 A += pReloc.target() & get_mask(pParent.getSize(pReloc.type())); in rel()
[all …]
DAArch64PLT.cpp22 AArch64PLT0::AArch64PLT0(SectionData& pParent) in AArch64PLT0() argument
23 : PLT::Entry<sizeof(aarch64_plt0)>(pParent) {} in AArch64PLT0()
25 AArch64PLT1::AArch64PLT1(SectionData& pParent) in AArch64PLT1() argument
26 : PLT::Entry<sizeof(aarch64_plt1)>(pParent) {} in AArch64PLT1()
DAArch64ELFDynamic.cpp16 AArch64ELFDynamic::AArch64ELFDynamic(const GNULDBackend& pParent, in AArch64ELFDynamic() argument
18 : ELFDynamic(pParent, pConfig) in AArch64ELFDynamic()
DAArch64PLT.h45 AArch64PLT0(SectionData& pParent);
51 AArch64PLT1(SectionData& pParent);
DAArch64GOT.h29 AArch64GOTEntry(uint64_t pContent, SectionData* pParent) in AArch64GOTEntry() argument
30 : GOT::Entry<8>(pContent, pParent) in AArch64GOTEntry()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp36 X86_32Relocator& pParent) in helper_DynRel_init() argument
38 X86_32GNULDBackend& ld_backend = pParent.getTarget(); in helper_DynRel_init()
68 X86_32Relocator& pParent) in helper_GOT_init() argument
72 X86_32GNULDBackend& ld_backend = pParent.getTarget(); in helper_GOT_init()
73 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym)); in helper_GOT_init()
76 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
84 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
86 pParent); in helper_GOT_init()
91 pParent); in helper_GOT_init()
99 Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) in helper_GOT_ORG() argument
[all …]
DX86PLT.cpp24 X86_32DynPLT0::X86_32DynPLT0(SectionData& pParent) in X86_32DynPLT0() argument
25 : PLT::Entry<sizeof(x86_32_dyn_plt0)>(pParent) in X86_32DynPLT0()
29 X86_32DynPLT1::X86_32DynPLT1(SectionData& pParent) in X86_32DynPLT1() argument
30 : PLT::Entry<sizeof(x86_32_dyn_plt1)>(pParent) in X86_32DynPLT1()
34 X86_32ExecPLT0::X86_32ExecPLT0(SectionData& pParent) in X86_32ExecPLT0() argument
35 : PLT::Entry<sizeof(x86_32_exec_plt0)>(pParent) in X86_32ExecPLT0()
39 X86_32ExecPLT1::X86_32ExecPLT1(SectionData& pParent) in X86_32ExecPLT1() argument
40 : PLT::Entry<sizeof(x86_32_exec_plt1)>(pParent) in X86_32ExecPLT1()
44 X86_64PLT0::X86_64PLT0(SectionData& pParent) in X86_64PLT0() argument
45 : PLT::Entry<sizeof(x86_64_plt0)>(pParent) in X86_64PLT0()
[all …]
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);
DX86GOT.h25 X86_32GOTEntry(uint64_t pContent, SectionData* pParent) in X86_32GOTEntry() argument
26 : GOT::Entry<4>(pContent, pParent) in X86_32GOTEntry()
50 X86_64GOTEntry(uint64_t pContent, SectionData* pParent) in X86_64GOTEntry() argument
51 : GOT::Entry<8>(pContent, pParent) in X86_64GOTEntry()
DX86ELFDynamic.cpp15 X86ELFDynamic::X86ELFDynamic(const GNULDBackend& pParent, in X86ELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) in X86ELFDynamic()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp43 static bool HasSubType(const Relocation& pParent, Relocation::Type pType) in HasSubType() argument
48 for (Relocation::Type type = pParent.type(); in HasSubType()
57 MipsRelocationInfo(Relocation& pParent, bool pIsRel) in MipsRelocationInfo() argument
58 : m_Parent(&pParent), in MipsRelocationInfo()
59 m_Type(pParent.type()), in MipsRelocationInfo()
61 m_Symbol(pParent.symValue()), in MipsRelocationInfo()
62 m_Result(pParent.target()) in MipsRelocationInfo()
66 m_Addend = pParent.target(); in MipsRelocationInfo()
68 m_Addend = pParent.addend(); in MipsRelocationInfo()
133 MipsRelocationInfo(Relocation& pParent, Relocation::Type pType, in MipsRelocationInfo() argument
[all …]
DMipsPLT.cpp45 MipsPLT0(SectionData& pParent) in MipsPLT0() argument
46 : PLT::Entry<sizeof(PLT0)>(pParent) in MipsPLT0()
56 MipsPLTA(SectionData& pParent) in MipsPLTA() argument
57 : PLT::Entry<sizeof(PLTA)>(pParent) in MipsPLTA()
DMipsELFDynamic.cpp20 MipsELFDynamic::MipsELFDynamic(const MipsGNULDBackend& pParent, in MipsELFDynamic() argument
22 : ELFDynamic(pParent, pConfig), in MipsELFDynamic()
23 m_pParent(pParent), in MipsELFDynamic()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp83 ARMRelocator& pParent) in helper_get_GOT_address() argument
85 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address()
87 return pParent.getTarget().getGOT().addr() + got_entry->getOffset(); in helper_get_GOT_address()
93 ARMRelocator& pParent) in helper_GOT_init() argument
97 ARMGNULDBackend& ld_backend = pParent.getTarget(); in helper_GOT_init()
98 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym)); in helper_GOT_init()
101 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
110 if (rsym->isLocal() || helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
128 Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) in helper_GOT_ORG() argument
130 return pParent.getTarget().getGOT().addr(); in helper_GOT_ORG()
[all …]
DARMELFDynamic.cpp15 ARMELFDynamic::ARMELFDynamic(const GNULDBackend& pParent, in ARMELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) in ARMELFDynamic()
DARMPLT.cpp21 ARMPLT0::ARMPLT0(SectionData& pParent) in ARMPLT0() argument
22 : PLT::Entry<sizeof(arm_plt0)>(pParent) {} in ARMPLT0()
24 ARMPLT1::ARMPLT1(SectionData& pParent) in ARMPLT1() argument
25 : PLT::Entry<sizeof(arm_plt1)>(pParent) {} in ARMPLT1()
DARMPLT.h41 ARMPLT0(SectionData& pParent);
47 ARMPLT1(SectionData& pParent);
DARMGOT.h27 ARMGOTEntry(uint64_t pContent, SectionData* pParent) in ARMGOTEntry() argument
28 : GOT::Entry<4>(pContent, pParent) in ARMGOTEntry()
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp30 HexagonRelocator &pParent) { in helper_DynRel_init() argument
31 HexagonLDBackend &ld_backend = pParent.getTarget(); in helper_DynRel_init()
56 HexagonRelocator &pParent) { in helper_GOT_init() argument
59 HexagonLDBackend &ld_backend = pParent.getTarget(); in helper_GOT_init()
60 assert(NULL == pParent.getSymGOTMap().lookUp(*rsym)); in helper_GOT_init()
63 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
71 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
73 pParent); in helper_GOT_init()
78 pParent); in helper_GOT_init()
86 HexagonRelocator &pParent) { in helper_get_GOT_address() argument
[all …]
DHexagonGOT.h25 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry() argument
26 : GOT::Entry<4>(pContent, pParent) in HexagonGOTEntry()
DHexagonELFDynamic.cpp15 HexagonELFDynamic::HexagonELFDynamic(const GNULDBackend& pParent, in HexagonELFDynamic() argument
17 : ELFDynamic(pParent, pConfig) { in HexagonELFDynamic()
/frameworks/compile/mclinker/include/mcld/Target/
DPLT.h27 PLTEntryBase(SectionData& pParent) in PLTEntryBase() argument
28 : TargetFragment(Fragment::Target, &pParent), m_pValue(NULL) in PLTEntryBase()
66 Entry(SectionData& pParent) in Entry() argument
67 : EntryBase(pParent) in Entry()
/frameworks/compile/mclinker/lib/MC/
DAttribute.cpp51 AttributeProxy::AttributeProxy(AttributeSet& pParent, in AttributeProxy() argument
54 : m_AttrPool(pParent), m_pBase(&pBase), m_Constraint(pConstraint) { in AttributeProxy()
101 static inline void ReplaceOrRecord(AttributeSet& pParent, in ReplaceOrRecord() argument
105 Attribute *result = pParent.exists(*pCopy); in ReplaceOrRecord()
107 pParent.record(*pCopy); in ReplaceOrRecord()
/frameworks/compile/mclinker/lib/Fragment/
DFragment.cpp25 Fragment::Fragment(Type pKind, SectionData *pParent) in Fragment() argument
26 : m_Kind(pKind), m_pParent(pParent), m_Offset(~uint64_t(0)) { in Fragment()

123