Lines Matching refs:location

228 static int apply_r_mips_none(struct module *me, uint32_t *location,  in apply_r_mips_none()  argument
234 static int apply_r_mips_gprel16(struct module *me, uint32_t *location, in apply_r_mips_gprel16() argument
239 if (!(*location & 0xffff)) { in apply_r_mips_gprel16()
245 (int)(short)(*location & 0xffff) - gp_addr); in apply_r_mips_gprel16()
254 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_gprel16()
259 static int apply_r_mips_pc16(struct module *me, uint32_t *location, in apply_r_mips_pc16() argument
263 rel = (((unsigned int)v - (unsigned int)location)); in apply_r_mips_pc16()
273 *location = (*location & 0xffff0000) | (rel & 0xffff); in apply_r_mips_pc16()
278 static int apply_r_mips_32(struct module *me, uint32_t *location, in apply_r_mips_32() argument
281 *location += v; in apply_r_mips_32()
286 static int apply_r_mips_26(struct module *me, uint32_t *location, in apply_r_mips_26() argument
306 *location = (*location & ~0x03ffffff) | in apply_r_mips_26()
307 ((*location + (v >> 2)) & 0x03ffffff); in apply_r_mips_26()
311 static int apply_r_mips_hi16(struct module *me, uint32_t *location, in apply_r_mips_hi16() argument
325 n->addr = location; in apply_r_mips_hi16()
333 static int apply_r_mips_lo16(struct module *me, uint32_t *location, in apply_r_mips_lo16() argument
336 unsigned long insnlo = *location; in apply_r_mips_lo16()
389 *location = insnlo; in apply_r_mips_lo16()
404 static int (*reloc_handlers[]) (struct module *me, uint32_t *location,
433 uint32_t *location; in apply_relocations() local
442 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocations()
456 res = reloc_handlers[ELF32_R_TYPE(r_info)](me, location, v); in apply_relocations()