Home
last modified time | relevance | path

Searched refs:rel_entry (Results 1 – 5 of 5) sorted by relevance

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h109 Relocation& rel_entry = *ld_backend.getRelaPLT().create(); in helper_PLT_init() local
110 rel_entry.setType(llvm::ELF::R_AARCH64_JUMP_SLOT); in helper_PLT_init()
111 rel_entry.targetRef().assign(*gotplt_entry); in helper_PLT_init()
112 rel_entry.setSymInfo(rsym); in helper_PLT_init()
123 Relocation& rel_entry = *ld_backend.getRelaDyn().create(); in helper_DynRela_init() local
124 rel_entry.setType(pType); in helper_DynRela_init()
125 rel_entry.targetRef().assign(pFrag, pOffset); in helper_DynRela_init()
127 rel_entry.setSymInfo(NULL); in helper_DynRela_init()
129 rel_entry.setSymInfo(pSym); in helper_DynRela_init()
131 return rel_entry; in helper_DynRela_init()
[all …]
DAArch64Relocator.cpp94 Relocation& rel_entry = *getTarget().getRelaDyn().create(); in addCopyReloc() local
95 rel_entry.setType(llvm::ELF::R_AARCH64_COPY); in addCopyReloc()
97 rel_entry.targetRef().assign(*pSym.outSymbol()->fragRef()); in addCopyReloc()
98 rel_entry.setSymInfo(&pSym); in addCopyReloc()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp37 Relocation& rel_entry = *ld_backend.getRelDyn().create(); in helper_DynRel_init() local
38 rel_entry.setType(pType); in helper_DynRel_init()
39 rel_entry.targetRef().assign(pFrag, pOffset); in helper_DynRel_init()
41 rel_entry.setSymInfo(NULL); in helper_DynRel_init()
43 rel_entry.setSymInfo(pSym); in helper_DynRel_init()
45 return rel_entry; in helper_DynRel_init()
116 Relocation& rel_entry = *ld_backend.getRelPLT().create(); in helper_PLT_init() local
117 rel_entry.setType(llvm::ELF::R_386_JUMP_SLOT); in helper_PLT_init()
118 rel_entry.targetRef().assign(*gotplt_entry); in helper_PLT_init()
119 rel_entry.setSymInfo(rsym); in helper_PLT_init()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp97 Relocation& rel_entry = *ld_backend.getRelDyn().create(); in helper_GOT_init() local
101 rel_entry.setType(llvm::ELF::R_ARM_RELATIVE); in helper_GOT_init()
102 rel_entry.setSymInfo(NULL); in helper_GOT_init()
106 rel_entry.setType(llvm::ELF::R_ARM_GLOB_DAT); in helper_GOT_init()
107 rel_entry.setSymInfo(rsym); in helper_GOT_init()
109 rel_entry.targetRef().assign(*got_entry); in helper_GOT_init()
140 Relocation& rel_entry = *ld_backend.getRelPLT().create(); in helper_PLT_init() local
141 rel_entry.setType(llvm::ELF::R_ARM_JUMP_SLOT); in helper_PLT_init()
142 rel_entry.targetRef().assign(*gotplt_entry); in helper_PLT_init()
143 rel_entry.setSymInfo(rsym); in helper_PLT_init()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp228 Relocation& rel_entry = *pTarget.getRelaDyn().create(); in addCopyReloc() local
229 rel_entry.setType(pTarget.getCopyRelType()); in addCopyReloc()
231 rel_entry.targetRef().assign(*pSym.outSymbol()->fragRef()); in addCopyReloc()
232 rel_entry.setSymInfo(&pSym); in addCopyReloc()
700 Relocation* rel_entry = pParent.getRelRelMap().lookUp(pReloc); in relocAbs() local
701 bool has_dyn_rel = (rel_entry != NULL); in relocAbs()
712 rel_entry->setAddend(S + A); in relocAbs()
724 rel_entry->setAddend(S + A); in relocAbs()
726 rel_entry->setAddend(A); in relocAbs()