Lines Matching refs:l
45 struct link_map *l, ElfW(Word) reloc_arg) in attribute_hidden()
48 = (const void *) D_PTR (l, l_info[DT_SYMTAB]); in attribute_hidden()
49 const char *strtab = (const void *) D_PTR (l, l_info[DT_STRTAB]); in attribute_hidden()
51 const uintptr_t pltgot = (uintptr_t) D_PTR (l, l_info[DT_PLTGOT]); in attribute_hidden()
54 = (const void *) (D_PTR (l, l_info[DT_JMPREL]) in attribute_hidden()
58 void *const rel_addr = (void *)(l->l_addr + reloc->r_offset); in attribute_hidden()
71 if (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL) in attribute_hidden()
74 (const void *) D_PTR (l, l_info[VERSYMIDX (DT_VERSYM)]); in attribute_hidden()
76 version = &l->l_versions[ndx]; in attribute_hidden()
95 result = _dl_lookup_symbol_x (strtab + sym->st_name, l, &sym, l->l_scope, in attribute_hidden()
116 value = DL_FIXUP_MAKE_VALUE (l, SYMBOL_ADDRESS (l, sym, true)); in attribute_hidden()
117 result = l; in attribute_hidden()
121 value = elf_machine_plt_value (l, reloc, value); in attribute_hidden()
133 if (l->l_reloc_result != NULL) in attribute_hidden()
138 = &l->l_reloc_result[reloc_index (pltgot, reloc_arg, sizeof (PLTREL))]; in attribute_hidden()
142 _dl_audit_symbind (l, reloc_result, sym, &value, result); in attribute_hidden()
162 return elf_machine_fixup_plt (l, result, refsym, sym, reloc, rel_addr, value); in attribute_hidden()
173 struct link_map *l, ElfW(Word) reloc_arg, in DL_FIXUP_VALUE_TYPE()
178 if (l->l_reloc_result == NULL) in DL_FIXUP_VALUE_TYPE()
195 l, reloc_arg); in DL_FIXUP_VALUE_TYPE()
198 const uintptr_t pltgot = (uintptr_t) D_PTR (l, l_info[DT_PLTGOT]); in DL_FIXUP_VALUE_TYPE()
203 = &l->l_reloc_result[reloc_index (pltgot, reloc_arg, sizeof (PLTREL))]; in DL_FIXUP_VALUE_TYPE()
237 = (const void *) D_PTR (l, l_info[DT_SYMTAB]); in DL_FIXUP_VALUE_TYPE()
238 const char *strtab = (const char *) D_PTR (l, l_info[DT_STRTAB]); in DL_FIXUP_VALUE_TYPE()
240 const uintptr_t pltgot = (uintptr_t) D_PTR (l, l_info[DT_PLTGOT]); in DL_FIXUP_VALUE_TYPE()
243 = (const void *) (D_PTR (l, l_info[DT_JMPREL]) in DL_FIXUP_VALUE_TYPE()
258 if (l->l_info[VERSYMIDX (DT_VERSYM)] != NULL) in DL_FIXUP_VALUE_TYPE()
261 (const void *) D_PTR (l, l_info[VERSYMIDX (DT_VERSYM)]); in DL_FIXUP_VALUE_TYPE()
263 version = &l->l_versions[ndx]; in DL_FIXUP_VALUE_TYPE()
278 result = _dl_lookup_symbol_x (strtab + refsym->st_name, l, in DL_FIXUP_VALUE_TYPE()
279 &defsym, l->l_scope, version, in DL_FIXUP_VALUE_TYPE()
301 value = DL_FIXUP_MAKE_VALUE (l, SYMBOL_ADDRESS (l, refsym, true)); in DL_FIXUP_VALUE_TYPE()
307 result = l; in DL_FIXUP_VALUE_TYPE()
310 value = elf_machine_plt_value (l, reloc, value); in DL_FIXUP_VALUE_TYPE()
317 _dl_audit_symbind (l, reloc_result, defsym, &value, result); in DL_FIXUP_VALUE_TYPE()
340 _dl_audit_pltenter (l, reloc_result, &value, regs, &framesize); in DL_FIXUP_VALUE_TYPE()