Home
last modified time | relevance | path

Searched refs:rsym (Results 1 – 9 of 9) 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.cpp154 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
162 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
165 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc()
181 Relocation& reloc = helper_DynRela_init(rsym, in scanLocalReloc()
188 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
197 if (rsym->reserved() & ReserveGOT) in scanLocalReloc()
206 rsym->setReserved(rsym->reserved() | ReserveGOT); in scanLocalReloc()
219 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc() local
226 if (getTarget().symbolNeedsPLT(*rsym)) { in scanGlobalReloc()
228 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/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 …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp92 ResolveInfo* rsym = pReloc.parent().symInfo(); in helper_PLT_init() local
93 assert(pParent.getSymPLTMap().lookUp(*rsym) == NULL && "PLT entry exists"); in helper_PLT_init()
97 pParent.getSymPLTMap().record(*rsym, *pltEntry); in helper_PLT_init()
99 assert(pParent.getSymGOTPLTMap().lookUp(*rsym) == NULL && in helper_PLT_init()
102 pParent.getSymGOTPLTMap().record(*rsym, *gotpltEntry); in helper_PLT_init()
107 relEntry->setSymInfo(rsym); in helper_PLT_init()
189 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation() local
190 assert(rsym != NULL && in scanRelocation()
195 rsym == getTarget().getGpDispSymbol()->resolveInfo()) in scanRelocation()
207 if (isLocalReloc(*rsym)) in scanRelocation()
[all …]
DMipsLA25Stub.cpp56 const ResolveInfo* rsym = pReloc.symInfo(); in isMyDuty() local
58 if (!rsym->isDefine()) in isMyDuty()
61 if (rsym->isDyn() || rsym->isUndef()) in isMyDuty()
64 if (!m_Target.hasNonPICBranch(rsym)) in isMyDuty()
DMipsLDBackend.h40 void addNonPICBranchSym(ResolveInfo* rsym);
41 bool hasNonPICBranch(const ResolveInfo* rsym) const;
DMipsLDBackend.cpp88 void MipsGNULDBackend::addNonPICBranchSym(ResolveInfo* rsym) { in addNonPICBranchSym() argument
89 m_HasNonPICBranchSyms.insert(rsym); in addNonPICBranchSym()
92 bool MipsGNULDBackend::hasNonPICBranch(const ResolveInfo* rsym) const { in hasNonPICBranch()
93 return m_HasNonPICBranchSyms.count(rsym); in hasNonPICBranch()