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

123

/frameworks/compile/mclinker/lib/Target/AArch64/
H A DAArch64RelocationHelpers.h86 AArch64Relocator& pParent) {
87 PLTEntryBase* plt_entry = pParent.getSymPLTMap().lookUp(pSym);
89 return pParent.getTarget().getPLT().addr() + plt_entry->getOffset();
93 AArch64Relocator& pParent) {
96 AArch64GNULDBackend& ld_backend = pParent.getTarget();
97 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL);
100 pParent.getSymPLTMap().record(*rsym, *plt_entry);
103 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL &&
106 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry);
121 AArch64Relocator& pParent) {
84 helper_get_PLT_address( ResolveInfo& pSym, AArch64Relocator& pParent) argument
92 helper_PLT_init(Relocation& pReloc, AArch64Relocator& pParent) argument
117 helper_DynRela_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, AArch64Relocator& pParent) argument
136 helper_use_relative_reloc(const ResolveInfo& pSym, const AArch64Relocator& pParent) argument
145 helper_get_GOT_address( ResolveInfo& pSym, AArch64Relocator& pParent) argument
153 helper_GOT_ORG(AArch64Relocator& pParent) argument
157 helper_GOT_init(Relocation& pReloc, bool pHasRel, AArch64Relocator& pParent) argument
[all...]
H A DAArch64ELFDynamic.cpp16 AArch64ELFDynamic::AArch64ELFDynamic(const GNULDBackend& pParent, argument
18 : ELFDynamic(pParent, pConfig) {
H A DAArch64ELFDynamic.h18 AArch64ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DAArch64GOT.h28 AArch64GOTEntry(uint64_t pContent, SectionData* pParent) argument
29 : GOT::Entry<8>(pContent, pParent) {}
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86GOT.h24 X86_32GOTEntry(uint64_t pContent, SectionData* pParent) argument
25 : GOT::Entry<4>(pContent, pParent) {}
46 X86_64GOTEntry(uint64_t pContent, SectionData* pParent) argument
47 : GOT::Entry<8>(pContent, pParent) {}
H A DX86ELFDynamic.cpp15 X86ELFDynamic::X86ELFDynamic(const GNULDBackend& pParent, argument
17 : ELFDynamic(pParent, pConfig) {
H A DX86ELFDynamic.h18 X86ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DX86Relocator.cpp35 X86_32Relocator& pParent) {
36 X86_32GNULDBackend& ld_backend = pParent.getTarget();
61 X86_32Relocator& pParent) {
64 X86_32GNULDBackend& ld_backend = pParent.getTarget();
65 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL);
68 pParent.getSymGOTMap().record(*rsym, *got_entry);
75 if (helper_use_relative_reloc(*rsym, pParent)) {
77 rsym, *got_entry, 0x0, llvm::ELF::R_386_RELATIVE, pParent);
81 rsym, *got_entry, 0x0, llvm::ELF::R_386_GLOB_DAT, pParent);
88 static Relocator::Address helper_GOT_ORG(X86_32Relocator& pParent) { argument
31 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, X86_32Relocator& pParent) argument
59 helper_GOT_init(Relocation& pReloc, bool pHasRel, X86_32Relocator& pParent) argument
92 helper_get_GOT_address(Relocation& pReloc, X86_32Relocator& pParent) argument
99 helper_PLT_init(Relocation& pReloc, X86_32Relocator& pParent) argument
123 helper_get_PLT_address(ResolveInfo& pSym, X86_32Relocator& pParent) argument
273 X86_32Relocator(X86_32GNULDBackend& pParent, const LinkerConfig& pConfig) argument
855 none(Relocation& pReloc, X86_32Relocator& pParent) argument
862 abs(Relocation& pReloc, X86_32Relocator& pParent) argument
899 rel(Relocation& pReloc, X86_32Relocator& pParent) argument
933 gotoff32(Relocation& pReloc, X86_32Relocator& pParent) argument
943 gotpc32(Relocation& pReloc, X86_32Relocator& pParent) argument
952 got32(Relocation& pReloc, X86_32Relocator& pParent) argument
973 plt32(Relocation& pReloc, X86_32Relocator& pParent) argument
987 tls_gd(Relocation& pReloc, X86_32Relocator& pParent) argument
1018 tls_ldm(Relocation& pReloc, X86_32Relocator& pParent) argument
1033 tls_ldo_32(Relocation& pReloc, X86_32Relocator& pParent) argument
1042 tls_ie(Relocation& pReloc, X86_32Relocator& pParent) argument
1062 tls_gotie(Relocation& pReloc, X86_32Relocator& pParent) argument
1083 tls_le(Relocation& pReloc, X86_32Relocator& pParent) argument
1099 unsupported(Relocation& pReloc, X86_32Relocator& pParent) argument
1107 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, X86_64Relocator& pParent) argument
1135 helper_GOT_init(Relocation& pReloc, bool pHasRel, X86_64Relocator& pParent) argument
1166 helper_GOT_ORG(X86_64Relocator& pParent) argument
1170 helper_get_GOT_address(Relocation& pReloc, X86_64Relocator& pParent) argument
1177 helper_get_PLT_address(ResolveInfo& pSym, X86_64Relocator& pParent) argument
1184 helper_PLT_init(Relocation& pReloc, X86_64Relocator& pParent) argument
1232 X86_64Relocator(X86_64GNULDBackend& pParent, const LinkerConfig& pConfig) argument
1523 none(Relocation& pReloc, X86_64Relocator& pParent) argument
1531 abs(Relocation& pReloc, X86_64Relocator& pParent) argument
1577 signed32(Relocation& pReloc, X86_64Relocator& pParent) argument
1607 gotpcrel(Relocation& pReloc, X86_64Relocator& pParent) argument
1632 plt32(Relocation& pReloc, X86_64Relocator& pParent) argument
1648 rel(Relocation& pReloc, X86_64Relocator& pParent) argument
1685 unsupported(Relocation& pReloc, X86_64Relocator& pParent) argument
[all...]
H A DX86PLT.h61 X86_32DynPLT0(SectionData& pParent);
66 X86_32DynPLT1(SectionData& pParent);
71 X86_32ExecPLT0(SectionData& pParent);
76 X86_32ExecPLT1(SectionData& pParent);
84 X86_64PLT0(SectionData& pParent);
89 X86_64PLT1(SectionData& pParent);
H A DX86PLT.cpp24 X86_32DynPLT0::X86_32DynPLT0(SectionData& pParent) argument
25 : PLT::Entry<sizeof(x86_32_dyn_plt0)>(pParent) {
28 X86_32DynPLT1::X86_32DynPLT1(SectionData& pParent) argument
29 : PLT::Entry<sizeof(x86_32_dyn_plt1)>(pParent) {
32 X86_32ExecPLT0::X86_32ExecPLT0(SectionData& pParent) argument
33 : PLT::Entry<sizeof(x86_32_exec_plt0)>(pParent) {
36 X86_32ExecPLT1::X86_32ExecPLT1(SectionData& pParent) argument
37 : PLT::Entry<sizeof(x86_32_exec_plt1)>(pParent) {
40 X86_64PLT0::X86_64PLT0(SectionData& pParent) argument
41 : PLT::Entry<sizeof(x86_64_plt0)>(pParent) {
44 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.h26 ARMGOTEntry(uint64_t pContent, SectionData* pParent) argument
27 : GOT::Entry<4>(pContent, pParent) {}
H A DARMPLT.h36 ARMPLT0(SectionData& pParent);
41 ARMPLT1(SectionData& pParent);
H A DARMRelocator.cpp75 ARMRelocator& pParent) {
76 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym);
78 return pParent.getTarget().getGOT().addr() + got_entry->getOffset();
83 ARMRelocator& pParent) {
86 ARMGNULDBackend& ld_backend = pParent.getTarget();
87 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL);
90 pParent.getSymGOTMap().record(*rsym, *got_entry);
98 if (rsym->isLocal() || helper_use_relative_reloc(*rsym, pParent)) {
114 static Relocator::Address helper_GOT_ORG(ARMRelocator& pParent) { argument
115 return pParent
74 helper_get_GOT_address(ResolveInfo& pSym, ARMRelocator& pParent) argument
81 helper_GOT_init(Relocation& pReloc, bool pHasRel, ARMRelocator& pParent) argument
118 helper_get_PLT_address(ResolveInfo& pSym, ARMRelocator& pParent) argument
125 helper_PLT_init(Relocation& pReloc, ARMRelocator& pParent) argument
151 helper_DynRel_init(Relocation& pReloc, Relocator::Type pType, ARMRelocator& pParent) argument
299 ARMRelocator(ARMGNULDBackend& pParent, const LinkerConfig& pConfig) argument
782 none(Relocation& pReloc, ARMRelocator& pParent) argument
787 abs32(Relocation& pReloc, ARMRelocator& pParent) argument
824 rel32(Relocation& pReloc, ARMRelocator& pParent) argument
848 base_prel(Relocation& pReloc, ARMRelocator& pParent) argument
856 gotoff32(Relocation& pReloc, ARMRelocator& pParent) argument
869 got_brel(Relocation& pReloc, ARMRelocator& pParent) argument
887 got_prel(Relocation& pReloc, ARMRelocator& pParent) argument
906 thm_jump8(Relocation& pReloc, ARMRelocator& pParent) argument
924 thm_jump11(Relocation& pReloc, ARMRelocator& pParent) argument
942 thm_jump19(Relocation& pReloc, ARMRelocator& pParent) argument
986 call(Relocation& pReloc, ARMRelocator& pParent) argument
1039 thm_call(Relocation& pReloc, ARMRelocator& pParent) argument
1107 movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1136 movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1155 movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument
1181 movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument
1194 thm_movw_abs_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1230 thm_movw_prel_nc(Relocation& pReloc, ARMRelocator& pParent) argument
1255 thm_movw_brel(Relocation& pReloc, ARMRelocator& pParent) argument
1279 thm_movt_abs(Relocation& pReloc, ARMRelocator& pParent) argument
1314 thm_movt_prel(Relocation& pReloc, ARMRelocator& pParent) argument
1335 prel31(Relocation& pReloc, ARMRelocator& pParent) argument
1360 tls(Relocation& pReloc, ARMRelocator& pParent) argument
1364 unsupported(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.h24 HexagonGOTEntry(uint64_t pContent, SectionData* pParent) argument
25 : GOT::Entry<4>(pContent, pParent) {}
H A DHexagonELFDynamic.h18 HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
H A DHexagonRelocator.cpp31 HexagonRelocator& pParent) {
32 HexagonLDBackend& ld_backend = pParent.getTarget();
57 HexagonRelocator& pParent) {
60 HexagonLDBackend& ld_backend = pParent.getTarget();
61 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL);
64 pParent.getSymGOTMap().record(*rsym, *got_entry);
71 if (helper_use_relative_reloc(*rsym, pParent)) {
73 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE, pParent);
77 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT, pParent);
85 HexagonRelocator& pParent) {
27 helper_DynRel_init(ResolveInfo* pSym, Fragment& pFrag, uint64_t pOffset, Relocator::Type pType, HexagonRelocator& pParent) argument
55 helper_GOT_init(Relocation& pReloc, bool pHasRel, HexagonRelocator& pParent) argument
84 helper_get_GOT_address(ResolveInfo& pSym, HexagonRelocator& pParent) argument
91 helper_PLT_init(Relocation& pReloc, HexagonRelocator& pParent) argument
114 helper_get_PLT_address(ResolveInfo& pSym, HexagonRelocator& pParent) argument
168 HexagonRelocator(HexagonLDBackend& pParent, const LinkerConfig& pConfig) argument
499 none(Relocation& pReloc, HexagonRelocator& pParent) argument
695 relocAbs(Relocation& pReloc, HexagonRelocator& pParent) argument
735 relocPCREL(Relocation& pReloc, HexagonRelocator& pParent) argument
767 relocGPREL(Relocation& pReloc, HexagonRelocator& pParent) argument
817 relocPLTB22PCREL(Relocation& pReloc, HexagonRelocator& pParent) argument
835 relocGOT(Relocation& pReloc, HexagonRelocator& pParent) argument
913 relocGOTREL(Relocation& pReloc, HexagonRelocator& pParent) argument
964 unsupported(Relocation& pReloc, HexagonRelocator& pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Fragment/
H A DFragment.cpp24 Fragment::Fragment(Type pKind, SectionData* pParent) argument
25 : m_Kind(pKind), m_pParent(pParent), m_Offset(~uint64_t(0)) {
/frameworks/compile/mclinker/include/mcld/Target/
H A DPLT.h26 explicit PLTEntryBase(SectionData& pParent) argument
27 : TargetFragment(Fragment::Target, &pParent), m_pValue(NULL) {}
56 explicit Entry(SectionData& pParent) : EntryBase(pParent) {} argument
H A DELFAttribute.h80 Subsection(ELFAttribute& pParent, ELFAttributeData& pAttrData) argument
81 : m_Parent(pParent), m_AttrData(pAttrData) {}
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocator.cpp42 static bool HasSubType(const Relocation& pParent, Relocation::Type pType) { argument
46 for (Relocation::Type type = pParent.type();
56 MipsRelocationInfo(Relocation& pParent, bool pIsRel) argument
57 : m_Parent(&pParent),
58 m_Type(pParent.type()),
60 m_Symbol(pParent.symValue()),
61 m_Result(pParent.target()) {
64 m_Addend = pParent.target();
66 m_Addend = pParent.addend();
100 MipsRelocationInfo(Relocation& pParent, argument
138 MipsRelocator(MipsGNULDBackend& pParent, const LinkerConfig& pConfig) argument
705 Mips32Relocator(Mips32GNULDBackend& pParent, const LinkerConfig& pConfig) argument
721 Mips64Relocator(Mips64GNULDBackend& pParent, const LinkerConfig& pConfig) argument
743 none(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
749 abs32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
780 rel26(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
803 hi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
825 lo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
849 gprel16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
869 got16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
890 gothi16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
902 gotlo16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
911 sub(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
922 call16(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
930 gprel32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
944 abs64(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
975 gotdisp(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
983 gotoff(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
990 jalr(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
996 la25lui(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1006 la25j(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1016 la25add(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1024 pc32(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
1029 unsupported(MipsRelocationInfo& pReloc, MipsRelocator& pParent) argument
[all...]
H A DMipsELFDynamic.h20 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) {
95 static inline void ReplaceOrRecord(AttributeSet& pParent, argument
98 Attribute* result = pParent.exists(*pCopy);
100 pParent.record(*pCopy);

Completed in 3574 milliseconds

123