FreeBSD/libexec/rtld-elf/amd64/rtld_machdep.h
/* Fixup the jump slot at "where" to transfer control to "target". */
Fixup the jump slot at "where" to transfer control to "target".
Fixup the jump slot at " where " to transfer control to " target " .
static inline Elf_Addr
reloc_jmpslot(Elf_Addr *where, Elf_Addr target,
	      const struct Struct_Obj_Entry *obj,
	      const struct Struct_Obj_Entry *refobj, const Elf_Rel *rel)
{
#ifdef dbg
    dbg("reloc_jmpslot: *%p = %p", (void *)(where),
	(void *)(target));
#endif
    (*(Elf_Addr *)(where) = (Elf_Addr)(target));
    return target;
}
static inline Elf_Addr reloc_jmpslot ( Elf_Addr * where , Elf_Addr target , const struct Struct_Obj_Entry * obj , const struct Struct_Obj_Entry * refobj , const Elf_Rel * rel ) { #ifdef dbg dbg ( " " , ( void * ) ( where ) , ( void * ) ( target ) ) ; #endif ( * ( Elf_Addr * ) ( where ) = ( Elf_Addr ) ( target ) ) ; return target ; }
Fixup the jump slot at "where" to transfer control to "target".
Fixup the jump slot at " where " to transfer control to " target " .