Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp66 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation() local
67 assert(NULL != rsym && in scanRelocation()
77 if (rsym->isLocal()) // rsym is local in scanRelocation()
84 if (rsym->isUndef() && !rsym->isDyn() && !rsym->isWeak() && !rsym->isNull()) in scanRelocation()
85 fatal(diag::undefined_reference) << rsym->name(); in scanRelocation()
210 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
223 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
239 if (rsym->reserved() & (ReserveGOT | GOTRel)) in scanLocalReloc()
247 rsym->setReserved(rsym->reserved() | ReserveGOT); in scanLocalReloc()
254 config().codeGenType() || rsym->isUndef() || rsym->isDyn()) { in scanLocalReloc()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp85 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation() local
86 assert(NULL != rsym && "ResolveInfo of relocation not set while scanRelocation"); in scanRelocation()
103 if ((rsym->isLocal() || !getTarget().isDynamicSymbol(*rsym) || in scanRelocation()
104 !rsym->isDyn()) && !rsym->isUndef()) in scanRelocation()
111 if (rsym->isUndef() && !rsym->isDyn() && !rsym->isWeak() && !rsym->isNull()) in scanRelocation()
112 fatal(diag::undefined_reference) << rsym->name(); in scanRelocation()
143 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
156 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
161 getTarget().getGOT().setLocal(rsym); in scanLocalReloc()
196 if (getTarget().getGOT().reserveLocalEntry(*rsym)) { in scanLocalReloc()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp175 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
193 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
230 if (rsym->reserved() & (ReserveGOT | GOTRel)) in scanLocalReloc()
240 rsym->setReserved(rsym->reserved() | 0x4u); in scanLocalReloc()
244 rsym->setReserved(rsym->reserved() | 0x2u); in scanLocalReloc()
251 if (rsym != getTarget().getGOTSymbol()->resolveInfo()) in scanLocalReloc()
252 fatal(diag::base_relocation) << (int)pReloc.type() << rsym->name() in scanLocalReloc()
276 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc() local
299 if (getTarget().symbolNeedsPLT(*rsym)) { in scanGlobalReloc()
301 if (!(rsym->reserved() & ReservePLT)){ in scanGlobalReloc()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp110 ResolveInfo* rsym = pReloc.symInfo(); in scanRelocation() local
111 assert(NULL != rsym && in scanRelocation()
118 if (rsym->isLocal()) // rsym is local in scanRelocation()
125 if (rsym->isUndef() && !rsym->isDyn() && !rsym->isWeak() && !rsym->isNull()) in scanRelocation()
126 fatal(diag::undefined_reference) << rsym->name(); in scanRelocation()
145 ResolveInfo* rsym = pReloc.symInfo(); in scanLocalReloc() local
158 rsym->setReserved(rsym->reserved() | ReserveRel); in scanLocalReloc()
174 ResolveInfo* rsym = pReloc.symInfo(); in scanGlobalReloc() local
179 if (rsym->reserved() & ReservePLT) in scanGlobalReloc()
189 rsym->setReserved(rsym->reserved() | ReservePLT); in scanGlobalReloc()
[all …]