Remove cargo cult dlinfo entry point.

This commit is contained in:
skrll 2010-01-16 10:37:51 +00:00
parent a6de3e0058
commit 2e0bcc8d3b
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: reloc.c,v 1.100 2010/01/15 07:07:11 skrll Exp $ */
/* $NetBSD: reloc.c,v 1.101 2010/01/16 10:37:51 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@ -39,7 +39,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: reloc.c,v 1.100 2010/01/15 07:07:11 skrll Exp $");
__RCSID("$NetBSD: reloc.c,v 1.101 2010/01/16 10:37:51 skrll Exp $");
#endif /* not lint */
#include <err.h>
@ -208,7 +208,6 @@ _rtld_relocate_objects(Obj_Entry *first, bool bind_now)
obj->dlerror = dlerror;
obj->dlclose = dlclose;
obj->dladdr = dladdr;
obj->dlinfo = dlinfo;
dbg(("fixing up PLTGOT"));
/* Set the special PLTGOT entries. */

View File

@ -1,4 +1,4 @@
/* $NetBSD: rtld.h,v 1.86 2010/01/15 07:07:12 skrll Exp $ */
/* $NetBSD: rtld.h,v 1.87 2010/01/16 10:37:51 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@ -168,7 +168,6 @@ typedef struct Struct_Obj_Entry {
char *(*dlerror)(void);
int (*dlclose)(void *);
int (*dladdr)(const void *, Dl_info *);
int (*dlinfo)(void *, int, void *);
u_int32_t mainprog:1, /* True if this is the main program */
rtld:1, /* True if this is the dynamic linker */