Home
last modified time | relevance | path

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

/frameworks/compile/mclinker/lib/Target/X86/
DX86Relocator.cpp133 X86_32GOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*rsym); in helper_get_GOT_and_init() local
134 if (NULL != got_entry) in helper_get_GOT_and_init()
135 return *got_entry; in helper_get_GOT_and_init()
138 got_entry = ld_backend.getGOT().consume(); in helper_get_GOT_and_init()
139 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_get_GOT_and_init()
144 got_entry->setValue(pReloc.symValue()); in helper_get_GOT_and_init()
149 helper_DynRel(rsym, *got_entry, 0x0, llvm::ELF::R_386_RELATIVE, pParent); in helper_get_GOT_and_init()
150 got_entry->setValue(pReloc.symValue()); in helper_get_GOT_and_init()
153 helper_DynRel(rsym, *got_entry, 0x0, llvm::ELF::R_386_GLOB_DAT, pParent); in helper_get_GOT_and_init()
154 got_entry->setValue(0); in helper_get_GOT_and_init()
[all …]
DX86LDBackend.cpp964 static X86_32GOTEntry* got_entry = NULL; in getTLSModuleID() local
965 if (NULL != got_entry) in getTLSModuleID()
966 return *got_entry; in getTLSModuleID()
970 got_entry = m_pGOT->consume(); in getTLSModuleID()
976 rel_entry->targetRef().assign(*got_entry, 0x0); in getTLSModuleID()
979 return *got_entry; in getTLSModuleID()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsRelocator.cpp126 MipsGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*rsym); in helper_GetGOTEntry() local
127 if (NULL != got_entry) { in helper_GetGOTEntry()
129 return *got_entry; in helper_GetGOTEntry()
134 got_entry = got.consumeLocal(); in helper_GetGOTEntry()
136 got_entry = got.consumeGlobal(); in helper_GetGOTEntry()
138 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_GetGOTEntry()
142 got_entry->setValue(pReloc.symValue()); in helper_GetGOTEntry()
148 return *got_entry; in helper_GetGOTEntry()
156 MipsGOTEntry& got_entry = helper_GetGOTEntry(pReloc, pParent, exist, 0); in helper_GetGOTOffset() local
157 return got_entry.getOffset() - 0x7FF0; in helper_GetGOTOffset()
[all …]
/frameworks/compile/mclinker/lib/Target/ARM/
DARMRelocator.cpp135 ARMGOTEntry* got_entry = pParent.getSymGOTMap().lookUp(*rsym); in helper_get_GOT_and_init() local
136 if (NULL == got_entry) { in helper_get_GOT_and_init()
137 got_entry = ld_backend.getGOT().consumeGOT(); in helper_get_GOT_and_init()
138 pParent.getSymGOTMap().record(*rsym, *got_entry); in helper_get_GOT_and_init()
142 got_entry->setValue(pReloc.symValue()); in helper_get_GOT_and_init()
151 got_entry->setValue(pReloc.symValue()); in helper_get_GOT_and_init()
157 got_entry->setValue(0); in helper_get_GOT_and_init()
161 rel_entry.targetRef().assign(*got_entry); in helper_get_GOT_and_init()
167 return *got_entry; in helper_get_GOT_and_init()
180 ARMGOTEntry& got_entry = helper_get_GOT_and_init(pReloc, pParent); in helper_GOT() local
[all …]