Lines Matching refs:loc
177 static int apply_rela_bits(Elf_Addr loc, Elf_Addr val, in apply_rela_bits() argument
199 *(unsigned char *) loc = val; in apply_rela_bits()
201 *(unsigned short *) loc = (val & 0xfff) | in apply_rela_bits()
202 (*(unsigned short *) loc & 0xf000); in apply_rela_bits()
204 *(unsigned short *) loc = val; in apply_rela_bits()
206 *(unsigned int *) loc = (val & 0xfff) << 16 | in apply_rela_bits()
208 (*(unsigned int *) loc & 0xf00000ff); in apply_rela_bits()
210 *(unsigned int *) loc = val; in apply_rela_bits()
212 *(unsigned long *) loc = val; in apply_rela_bits()
220 Elf_Addr loc, val; in apply_rela() local
225 loc = base + rela->r_offset; in apply_rela()
245 rc = apply_rela_bits(loc, val, 0, 8, 0); in apply_rela()
247 rc = apply_rela_bits(loc, val, 0, 12, 0); in apply_rela()
249 rc = apply_rela_bits(loc, val, 0, 16, 0); in apply_rela()
251 rc = apply_rela_bits(loc, val, 1, 20, 0); in apply_rela()
253 rc = apply_rela_bits(loc, val, 0, 32, 0); in apply_rela()
255 rc = apply_rela_bits(loc, val, 0, 64, 0); in apply_rela()
262 val += rela->r_addend - loc; in apply_rela()
264 rc = apply_rela_bits(loc, val, 1, 16, 0); in apply_rela()
266 rc = apply_rela_bits(loc, val, 1, 16, 1); in apply_rela()
268 rc = apply_rela_bits(loc, val, 1, 32, 1); in apply_rela()
270 rc = apply_rela_bits(loc, val, 1, 32, 0); in apply_rela()
272 rc = apply_rela_bits(loc, val, 1, 64, 0); in apply_rela()
297 rc = apply_rela_bits(loc, val, 0, 12, 0); in apply_rela()
300 rc = apply_rela_bits(loc, val, 0, 16, 0); in apply_rela()
303 rc = apply_rela_bits(loc, val, 1, 20, 0); in apply_rela()
306 rc = apply_rela_bits(loc, val, 0, 32, 0); in apply_rela()
309 rc = apply_rela_bits(loc, val, 0, 64, 0); in apply_rela()
312 val += (Elf_Addr) me->module_core - loc; in apply_rela()
313 rc = apply_rela_bits(loc, val, 1, 32, 1); in apply_rela()
352 val - loc + 0xffffUL < 0x1ffffeUL) || in apply_rela()
354 val - loc + 0xffffffffULL < 0x1fffffffeULL))) in apply_rela()
358 val += rela->r_addend - loc; in apply_rela()
361 rc = apply_rela_bits(loc, val, 1, 16, 1); in apply_rela()
363 rc = apply_rela_bits(loc, val, 0, 16, 0); in apply_rela()
365 rc = apply_rela_bits(loc, val, 1, 32, 1); in apply_rela()
368 rc = apply_rela_bits(loc, val, 0, 32, 0); in apply_rela()
371 rc = apply_rela_bits(loc, val, 0, 64, 0); in apply_rela()
379 rc = apply_rela_bits(loc, val, 0, 16, 0); in apply_rela()
381 rc = apply_rela_bits(loc, val, 0, 32, 0); in apply_rela()
383 rc = apply_rela_bits(loc, val, 0, 64, 0); in apply_rela()
388 rela->r_addend - loc; in apply_rela()
390 rc = apply_rela_bits(loc, val, 1, 32, 0); in apply_rela()
392 rc = apply_rela_bits(loc, val, 1, 32, 1); in apply_rela()