Home
last modified time | relevance | path

Searched refs:got_entry (Results 1 – 6 of 6) sorted by relevance

/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64RelocationHelpers.h148 AArch64GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address() local
149 assert(got_entry != NULL); in helper_get_GOT_address()
150 return pParent.getTarget().getGOT().addr() + got_entry->getOffset(); in helper_get_GOT_address()
165 AArch64GOTEntry* got_entry = ld_backend.getGOT().createGOT(); in helper_GOT_init() local
166 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
171 got_entry->setValue(AArch64Relocator::SymVal); in helper_GOT_init()
175 got_entry->setValue(AArch64Relocator::SymVal); in helper_GOT_init()
177 rsym, *got_entry, 0x0, llvm::ELF::R_AARCH64_RELATIVE, pParent); in helper_GOT_init()
181 helper_DynRela_init(rsym, *got_entry, 0x0, llvm::ELF::R_AARCH64_GLOB_DAT, in helper_GOT_init()
183 got_entry->setValue(0); in helper_GOT_init()
[all …]
DAArch64Relocator.cpp663 AArch64GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*pReloc.symInfo()); in adr_got_page() local
664 if (got_entry != NULL && AArch64Relocator::SymVal == got_entry->getValue()) in adr_got_page()
665 got_entry->setValue(pReloc.symValue()); in adr_got_page()
687 AArch64GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*pReloc.symInfo()); in ld64_got_lo12() local
688 if (got_entry != NULL && AArch64Relocator::SymVal == got_entry->getValue()) in ld64_got_lo12()
689 got_entry->setValue(pReloc.symValue()); in ld64_got_lo12()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp67 X86_32GOTEntry* got_entry = ld_backend.getGOT().create(); in helper_GOT_init() local
68 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
72 got_entry->setValue(X86Relocator::SymVal); in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_386_RELATIVE, pParent); in helper_GOT_init()
78 got_entry->setValue(X86Relocator::SymVal); in helper_GOT_init()
81 rsym, *got_entry, 0x0, llvm::ELF::R_386_GLOB_DAT, pParent); in helper_GOT_init()
82 got_entry->setValue(0x0); in helper_GOT_init()
85 return *got_entry; in helper_GOT_init()
94 X86_32GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*pReloc.symInfo()); in helper_get_GOT_address() local
95 assert(got_entry != NULL); in helper_get_GOT_address()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonRelocator.cpp63 HexagonGOTEntry* got_entry = ld_backend.getGOT().create(); in helper_GOT_init() local
64 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
68 got_entry->setValue(HexagonRelocator::SymVal); in helper_GOT_init()
73 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_RELATIVE, pParent); in helper_GOT_init()
74 got_entry->setValue(HexagonRelocator::SymVal); in helper_GOT_init()
77 rsym, *got_entry, 0x0, llvm::ELF::R_HEX_GLOB_DAT, pParent); in helper_GOT_init()
78 got_entry->setValue(0); in helper_GOT_init()
81 return *got_entry; in helper_GOT_init()
86 HexagonGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address() local
87 assert(got_entry != NULL); in helper_get_GOT_address()
[all …]
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp607 Fragment* got_entry = got.lookupLocalEntry(rsym, entryValue); in getLocalGOTEntry() local
610 if (got_entry != NULL) in getLocalGOTEntry()
611 return *got_entry; in getLocalGOTEntry()
614 got_entry = got.consumeLocal(); in getLocalGOTEntry()
617 setupRel32DynEntry(*FragmentRef::Create(*got_entry, 0), NULL); in getLocalGOTEntry()
619 got.setEntryValue(got_entry, entryValue); in getLocalGOTEntry()
621 got.recordLocalEntry(rsym, entryValue, got_entry); in getLocalGOTEntry()
623 return *got_entry; in getLocalGOTEntry()
634 Fragment* got_entry = got.lookupGlobalEntry(rsym); in getGlobalGOTEntry() local
637 if (got_entry != NULL) in getGlobalGOTEntry()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp76 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(pSym); in helper_get_GOT_address() local
77 assert(got_entry != NULL); in helper_get_GOT_address()
78 return pParent.getTarget().getGOT().addr() + got_entry->getOffset(); in helper_get_GOT_address()
89 ARMGOTEntry* got_entry = ld_backend.getGOT().createGOT(); in helper_GOT_init() local
90 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GOT_init()
94 got_entry->setValue(ARMRelocator::SymVal); in helper_GOT_init()
100 got_entry->setValue(ARMRelocator::SymVal); in helper_GOT_init()
105 got_entry->setValue(0); in helper_GOT_init()
109 rel_entry.targetRef().assign(*got_entry); in helper_GOT_init()
111 return *got_entry; in helper_GOT_init()
[all …]