Searched defs:pReloc (Results 1 - 7 of 7) sorted by relevance

/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsRelocationFactory.cpp83 // Find next R_MIPS_LO16 relocation paired to pReloc.
85 Relocation* helper_FindLo16Reloc(Relocation& pReloc) argument
87 Relocation* reloc = static_cast<Relocation*>(pReloc.getNextNode());
91 reloc->symInfo() == pReloc.symInfo())
101 bool helper_isGpDisp(const Relocation& pReloc) argument
103 const ResolveInfo* rsym = pReloc.symInfo();
114 GOTEntry& helper_GetGOTEntry(Relocation& pReloc, argument
119 ResolveInfo* rsym = pReloc.symInfo();
131 got_entry.setContent(pReloc.symValue());
142 RelocationFactory::Address helper_GetGOTOffset(Relocation& pReloc, argument
168 helper_DynRel(Relocation& pReloc, MipsRelocationFactory& pParent) argument
202 none(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
211 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
245 hi16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
277 lo16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
308 got16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
343 call16(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
357 gprel32(Relocation& pReloc, const MCLDInfo& pLDInfo, MipsRelocationFactory& pParent) argument
[all...]
H A DMipsLDBackend.cpp119 void MipsGNULDBackend::scanRelocation(Relocation& pReloc, argument
127 ResolveInfo* rsym = pReloc.symInfo();
133 updateAddend(pReloc, pInputSym, pLinker.getLayout());
155 scanLocalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput);
157 scanGlobalReloc(pReloc, pInputSym, pLinker, pLDInfo, pOutput);
617 void MipsGNULDBackend::updateAddend(Relocation& pReloc, argument
622 if (pReloc.symInfo()->type() == ResolveInfo::Section) {
623 pReloc.setAddend(pLayout.getOutputOffset(
624 *pInputSym.fragRef()) + pReloc.addend());
628 void MipsGNULDBackend::scanLocalReloc(Relocation& pReloc, argument
737 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
[all...]
/frameworks/compile/mclinker/lib/Target/X86/
H A DX86RelocationFactory.cpp29 (*ApplyFunctionType)(Relocation& pReloc,
100 GOTEntry& helper_get_GOT_and_init(Relocation& pReloc, argument
105 ResolveInfo* rsym = pReloc.symInfo();
114 got_entry.setContent(pReloc.symValue());
123 got_entry.setContent(pReloc.symValue());
150 X86RelocationFactory::Address helper_GOT(Relocation& pReloc, argument
154 GOTEntry& got_entry = helper_get_GOT_and_init(pReloc, pLDInfo, pParent);
162 PLTEntry& helper_get_PLT_and_init(Relocation& pReloc, argument
166 ResolveInfo* rsym = pReloc.symInfo();
201 X86RelocationFactory::Address helper_PLT(Relocation& pReloc, argument
211 helper_DynRel(Relocation& pReloc, X86RelocationFactory::Type pType, X86RelocationFactory& pParent) argument
237 none(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
245 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
299 rel32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
343 gotoff32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
356 gotpc32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
368 got32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
385 plt32(Relocation& pReloc, const MCLDInfo& pLDInfo, X86RelocationFactory& pParent) argument
[all...]
H A DX86LDBackend.cpp257 void X86GNULDBackend::updateAddend(Relocation& pReloc, argument
262 if (pReloc.symInfo()->type() == ResolveInfo::Section) {
263 pReloc.setAddend(pLayout.getOutputOffset(
264 *pInputSym.fragRef()) + pReloc.addend());
268 void X86GNULDBackend::scanLocalReloc(Relocation& pReloc, argument
275 ResolveInfo* rsym = pReloc.symInfo();
277 updateAddend(pReloc, pInputSym, pLinker.getLayout());
279 switch(pReloc.type()){
306 fatal(diag::unsupported_relocation) << (int)pReloc.type()
312 void X86GNULDBackend::scanGlobalReloc(Relocation& pReloc, argument
475 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument
[all...]
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp321 void ARMGNULDBackend::checkValidReloc(Relocation& pReloc, argument
329 switch(pReloc.type()) {
343 error(diag::non_pic_relocation) << (int)pReloc.type()
344 << pReloc.symInfo()->name();
349 void ARMGNULDBackend::updateAddend(Relocation& pReloc, argument
354 if (pReloc.symInfo()->type() == ResolveInfo::Section) {
355 pReloc.setAddend(pLayout.getOutputOffset(
356 *pInputSym.fragRef()) + pReloc.addend());
360 void ARMGNULDBackend::scanLocalReloc(Relocation& pReloc, argument
367 ResolveInfo* rsym = pReloc
473 scanGlobalReloc(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput) argument
715 scanRelocation(Relocation& pReloc, const LDSymbol& pInputSym, MCLinker& pLinker, const MCLDInfo& pLDInfo, const Output& pOutput, const LDSection& pSection) argument
[all...]
H A DARMRelocationFactory.cpp30 Relocation& pReloc,
81 static RelocationFactory::DWord getThumbBit(const Relocation& pReloc) argument
86 ((!pReloc.symInfo()->isUndef() || pReloc.symInfo()->isDyn()) &&
87 (pReloc.symInfo()->type() == ResolveInfo::Function) &&
88 ((pReloc.symValue() & 0x1) != 0))?
134 GOTEntry& helper_get_GOT_and_init(Relocation& pReloc, argument
139 ResolveInfo* rsym = pReloc.symInfo();
148 got_entry.setContent(pReloc.symValue());
159 got_entry.setContent(pReloc
186 helper_GOT(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
196 helper_get_PLT_and_init(Relocation& pReloc, ARMRelocationFactory& pParent) argument
235 helper_PLT(Relocation& pReloc, ARMRelocationFactory& pParent) argument
245 helper_DynRel(Relocation& pReloc, ARMRelocationFactory::Type pType, ARMRelocationFactory& pParent) argument
379 none(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
387 abs32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
442 rel32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
455 base_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
466 gotoff32(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
480 got_brel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
497 got_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
516 call(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
571 thm_call(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
644 movw_abs_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
676 movw_prel_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
698 movt_abs(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
728 movt_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
746 thm_movw_abs_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
776 thm_movw_prel_nc(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
797 thm_movw_brel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
817 thm_movt_abs(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
854 thm_movt_prel(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
872 prel31(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
899 tls(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
906 unsupport(Relocation& pReloc, const MCLDInfo& pLDInfo, ARMRelocationFactory& pParent) argument
[all...]
/frameworks/compile/mclinker/lib/Target/
H A DGNULDBackend.cpp1797 const Relocation& pReloc,
1816 if ((pLayout.getOutputLDSection(*pReloc.targetRef().frag())->flag() &
1796 symbolNeedsCopyReloc(const Layout& pLayout, const Relocation& pReloc, const ResolveInfo& pSym, const MCLDInfo& pLDInfo, const Output& pOutput) const argument

Completed in 5617 milliseconds