Home
last modified time | relevance | path

Searched refs:rsym (Results 1 – 10 of 10) sorted by relevance

/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp63 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init() local
65 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
68 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
75 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_386_RELATIVE, pParent); in helper_GOT_init()
81 rsym, *got_entry, 0x0, llvm::ELF::R_386_GLOB_DAT, pParent); in helper_GOT_init()
102 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init() local
104 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL); in helper_PLT_init()
107 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
110 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
[all …]
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Relocator.cpp152 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
160 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
163 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc()
179 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc()
186 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
195 if (rsym->reserved() & ReserveGOT) in scanLocalReloc()
204 rsym->setReserved(rsym->reserved() | ReserveGOT); in scanLocalReloc()
217 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc() local
224 if (getTarget().symbolNeedsPLT(*rsym)) { in scanGlobalReloc()
226 if (!(rsym->reserved() & ReservePLT)) { in scanGlobalReloc()
[all …]
DAArch64RelocationHelpers.h95 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init() local
97 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL); in helper_PLT_init()
100 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
103 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
106 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry); in helper_PLT_init()
112 rel_entry.setSymInfo(rsym); in helper_PLT_init()
161 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init() local
163 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
166 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
174 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp59 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init() local
61 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
64 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
71 if (helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
73 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE, pParent); in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT, pParent); in helper_GOT_init()
94 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init() local
96 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL); in helper_PLT_init()
99 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
101 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp190 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation() local
191 assert(rsym != NULL && in scanRelocation()
196 rsym == getTarget().getGpDispSymbol()->resolveInfo()) in scanRelocation()
208 if (isLocalReloc(*rsym)) in scanRelocation()
219 if (rsym->isUndef() && !rsym->isDyn() && !rsym->isWeak() && !rsym->isNull()) in scanRelocation()
248 ResolveInfo* rsym = pReloc.parent().symInfo(); in scanLocalReloc() local
262 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
300 .reserveLocalEntry(*rsym, pReloc.type(), pReloc.A())) { in scanLocalReloc()
327 << rsym->name(); in scanLocalReloc()
334 ResolveInfo* rsym = pReloc.parent().symInfo(); in scanGlobalReloc() local
[all …]
DMipsLA25Stub.cpp63 const ResolveInfo* rsym = pReloc.symInfo(); in isMyDuty() local
65 if (!rsym->isDefine()) in isMyDuty()
68 if (rsym->isDyn() || rsym->isUndef()) in isMyDuty()
71 if (!m_Target.hasNonPICBranch(rsym)) in isMyDuty()
DMipsLDBackend.h38 void addNonPICBranchSym(ResolveInfo* rsym);
39 bool hasNonPICBranch(const ResolveInfo* rsym) const;
DMipsRelocator.h113 uint64_t getPLTAddress(ResolveInfo& rsym);
DMipsLDBackend.cpp80 void MipsGNULDBackend::addNonPICBranchSym(ResolveInfo* rsym) { in addNonPICBranchSym() argument
81 m_HasNonPICBranchSyms.insert(rsym); in addNonPICBranchSym()
84 bool MipsGNULDBackend::hasNonPICBranch(const ResolveInfo* rsym) const { in hasNonPICBranch()
85 return m_HasNonPICBranchSyms.count(rsym); in hasNonPICBranch()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp85 ResolveInfo* rsym = pReloc.symInfo(); in helper_GOT_init() local
87 assert(pParent.getSymGOTMap().lookUp(*rsym) == NULL); in helper_GOT_init()
90 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
98 if (rsym->isLocal() || helper_use_relative_reloc(*rsym, pParent)) { in helper_GOT_init()
107 rel_entry.setSymInfo(rsym); in helper_GOT_init()
127 ResolveInfo* rsym = pReloc.symInfo(); in helper_PLT_init() local
129 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL); in helper_PLT_init()
133 pParent.getSymPLTMap().record(*rsym, *plt_entry); in helper_PLT_init()
135 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
138 pParent.getSymGOTPLTMap().record(*rsym, *gotplt_entry); in helper_PLT_init()
[all …]