Lines Matching full:where
91 Elf_Addr *where; in _rtld_relocate_nonplt_self() local
105 where = (Elf_Addr *)(relocbase + rel->r_offset); in _rtld_relocate_nonplt_self()
107 *where += (Elf_Addr)relocbase; in _rtld_relocate_nonplt_self()
118 load_ptr(void *where) in load_ptr() argument
122 memcpy(&res, where, sizeof(res)); in load_ptr()
128 store_ptr(void *where, Elf_Addr val) in store_ptr() argument
131 memcpy(where, &val, sizeof(val)); in store_ptr()
138 Elf_Addr *where; in reloc_nonplt_object() local
144 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_nonplt_object()
158 addend = *where; in reloc_nonplt_object()
167 - (Elf_Addr)where + (addend << 2); in reloc_nonplt_object()
173 obj->path, where, in reloc_nonplt_object()
179 *where = (*where & 0xff000000) | (tmp & 0x00ffffff); in reloc_nonplt_object()
182 obj->path, (void *)*where, where, defobj->path); in reloc_nonplt_object()
193 if (__predict_true(RELOC_ALIGNED_P(where))) { in reloc_nonplt_object()
194 tmp = *where + (Elf_Addr)defobj->relocbase + in reloc_nonplt_object()
196 *where = tmp; in reloc_nonplt_object()
198 tmp = load_ptr(where) + in reloc_nonplt_object()
201 store_ptr(where, tmp); in reloc_nonplt_object()
205 obj->path, (void *)tmp, where, defobj->path); in reloc_nonplt_object()
209 if (__predict_true(RELOC_ALIGNED_P(where))) { in reloc_nonplt_object()
210 tmp = *where + (Elf_Addr)obj->relocbase; in reloc_nonplt_object()
211 *where = tmp; in reloc_nonplt_object()
213 tmp = load_ptr(where) + in reloc_nonplt_object()
215 store_ptr(where, tmp); in reloc_nonplt_object()
244 if (__predict_true(RELOC_ALIGNED_P(where))) in reloc_nonplt_object()
245 *where = tmp; in reloc_nonplt_object()
247 store_ptr(where, tmp); in reloc_nonplt_object()
261 if (__predict_true(RELOC_ALIGNED_P(where))) in reloc_nonplt_object()
262 *where = tmp; in reloc_nonplt_object()
264 store_ptr(where, tmp); in reloc_nonplt_object()
282 if (__predict_true(RELOC_ALIGNED_P(where))) { in reloc_nonplt_object()
283 tmp += *where; in reloc_nonplt_object()
284 *where = tmp; in reloc_nonplt_object()
286 tmp += load_ptr(where); in reloc_nonplt_object()
287 store_ptr(where, tmp); in reloc_nonplt_object()
299 (void *)rel->r_offset, (void *)load_ptr(where), in reloc_nonplt_object()
359 Elf_Addr *where; in reloc_plt() local
363 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_plt()
364 *where += (Elf_Addr )obj->relocbase; in reloc_plt()
380 Elf_Addr *where; in reloc_jmpslots() local
386 where = (Elf_Addr *)(obj->relocbase + rel->r_offset); in reloc_jmpslots()
395 reloc_jmpslot(where, target, defobj, obj, in reloc_jmpslots()
432 reloc_jmpslot(Elf_Addr *where, Elf_Addr target, in reloc_jmpslot() argument
439 if (*where != target && !ld_bind_not) in reloc_jmpslot()
440 *where = target; in reloc_jmpslot()