Lines Matching refs:wherep
502 reloc_jmpslot(Elf_Addr *wherep, Elf_Addr target, const Obj_Entry *defobj __unused, in reloc_jmpslot() argument
514 (void *)wherep, (void *)target, *(Elf_Addr *)target, in reloc_jmpslot()
529 memcpy(wherep, (void *)target, sizeof(struct funcdesc)); in reloc_jmpslot()
530 wherep[2] = ((Elf_Addr *)target)[2]; in reloc_jmpslot()
531 wherep[1] = ((Elf_Addr *)target)[1]; in reloc_jmpslot()
533 wherep[0] = ((Elf_Addr *)target)[0]; in reloc_jmpslot()
536 if (((struct funcdesc *)(wherep))->addr < (Elf_Addr)defobj->relocbase) { in reloc_jmpslot()
544 ((struct funcdesc *)(wherep))->addr += in reloc_jmpslot()
546 ((struct funcdesc *)(wherep))->toc += in reloc_jmpslot()
550 dbg(" reloc_jmpslot: where=%p, target=%p", (void *)wherep, in reloc_jmpslot()
558 if (*wherep != target) in reloc_jmpslot()
559 *wherep = target; in reloc_jmpslot()