/frameworks/compile/mclinker/lib/Target/AArch64/ |
D | AArch64RelocationHelpers.h | 97 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 …]
|
D | AArch64Relocator.cpp | 35 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 …]
|
D | AArch64PLT.cpp | 22 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()
|
D | AArch64ELFDynamic.cpp | 16 AArch64ELFDynamic::AArch64ELFDynamic(const GNULDBackend& pParent, in AArch64ELFDynamic() argument 18 : ELFDynamic(pParent, pConfig) in AArch64ELFDynamic()
|
D | AArch64PLT.h | 45 AArch64PLT0(SectionData& pParent); 51 AArch64PLT1(SectionData& pParent);
|
D | AArch64GOT.h | 29 AArch64GOTEntry(uint64_t pContent, SectionData* pParent) in AArch64GOTEntry() argument 30 : GOT::Entry<8>(pContent, pParent) in AArch64GOTEntry()
|
/frameworks/compile/mclinker/lib/Target/X86/ |
D | X86Relocator.cpp | 36 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 …]
|
D | X86PLT.cpp | 24 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 …]
|
D | X86PLT.h | 66 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);
|
D | X86GOT.h | 25 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()
|
D | X86ELFDynamic.cpp | 15 X86ELFDynamic::X86ELFDynamic(const GNULDBackend& pParent, in X86ELFDynamic() argument 17 : ELFDynamic(pParent, pConfig) in X86ELFDynamic()
|
/frameworks/compile/mclinker/lib/Target/Mips/ |
D | MipsRelocator.cpp | 43 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 …]
|
D | MipsPLT.cpp | 45 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()
|
D | MipsELFDynamic.cpp | 20 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/ |
D | ARMRelocator.cpp | 83 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 …]
|
D | ARMELFDynamic.cpp | 15 ARMELFDynamic::ARMELFDynamic(const GNULDBackend& pParent, in ARMELFDynamic() argument 17 : ELFDynamic(pParent, pConfig) in ARMELFDynamic()
|
D | ARMPLT.cpp | 21 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()
|
D | ARMPLT.h | 41 ARMPLT0(SectionData& pParent); 47 ARMPLT1(SectionData& pParent);
|
D | ARMGOT.h | 27 ARMGOTEntry(uint64_t pContent, SectionData* pParent) in ARMGOTEntry() argument 28 : GOT::Entry<4>(pContent, pParent) in ARMGOTEntry()
|
/frameworks/compile/mclinker/lib/Target/Hexagon/ |
D | HexagonRelocator.cpp | 30 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 …]
|
D | HexagonGOT.h | 25 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) in HexagonGOTEntry() argument 26 : GOT::Entry<4>(pContent, pParent) in HexagonGOTEntry()
|
D | HexagonELFDynamic.cpp | 15 HexagonELFDynamic::HexagonELFDynamic(const GNULDBackend& pParent, in HexagonELFDynamic() argument 17 : ELFDynamic(pParent, pConfig) { in HexagonELFDynamic()
|
/frameworks/compile/mclinker/include/mcld/Target/ |
D | PLT.h | 27 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/ |
D | Attribute.cpp | 51 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/ |
D | Fragment.cpp | 25 Fragment::Fragment(Type pKind, SectionData *pParent) in Fragment() argument 26 : m_Kind(pKind), m_pParent(pParent), m_Offset(~uint64_t(0)) { in Fragment()
|