Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Remove cargo cult dlinfo entry point.



details:   https://anonhg.NetBSD.org/src/rev/f236752acd7b
branches:  trunk
changeset: 750838:f236752acd7b
user:      skrll <skrll%NetBSD.org@localhost>
date:      Sat Jan 16 10:37:51 2010 +0000

description:
Remove cargo cult dlinfo entry point.

diffstat:

 libexec/ld.elf_so/reloc.c |  5 ++---
 libexec/ld.elf_so/rtld.h  |  3 +--
 2 files changed, 3 insertions(+), 5 deletions(-)

diffs (43 lines):

diff -r 6833b6164c6f -r f236752acd7b libexec/ld.elf_so/reloc.c
--- a/libexec/ld.elf_so/reloc.c Sat Jan 16 10:06:31 2010 +0000
+++ b/libexec/ld.elf_so/reloc.c Sat Jan 16 10:37:51 2010 +0000
@@ -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 @@
                obj->dlerror = dlerror;
                obj->dlclose = dlclose;
                obj->dladdr = dladdr;
-               obj->dlinfo = dlinfo;
 
                dbg(("fixing up PLTGOT"));
                /* Set the special PLTGOT entries. */
diff -r 6833b6164c6f -r f236752acd7b libexec/ld.elf_so/rtld.h
--- a/libexec/ld.elf_so/rtld.h  Sat Jan 16 10:06:31 2010 +0000
+++ b/libexec/ld.elf_so/rtld.h  Sat Jan 16 10:37:51 2010 +0000
@@ -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 @@
        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 */



Home | Main Index | Thread Index | Old Index