NetBSD/libexec/ld.elf_so/arch/m68k/mdreloc.c

13 lines
216 B
C

#include <sys/types.h>
#include <sys/stat.h>
#include "debug.h"
#include "rtld.h"
void
_rtld_setup_pltgot(const Obj_Entry *obj)
{
obj->pltgot[1] = (Elf_Addr) obj;
obj->pltgot[2] = (Elf_Addr) &_rtld_bind_start;
}