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 we don't need the versioning stuff for ldd



details:   https://anonhg.NetBSD.org/src/rev/ce26236fc21c
branches:  trunk
changeset: 786683:ce26236fc21c
user:      christos <christos%NetBSD.org@localhost>
date:      Tue May 07 13:01:07 2013 +0000

description:
we don't need the versioning stuff for ldd

diffstat:

 libexec/ld.elf_so/symver.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (31 lines):

diff -r fac82c069e3a -r ce26236fc21c libexec/ld.elf_so/symver.c
--- a/libexec/ld.elf_so/symver.c        Tue May 07 13:00:35 2013 +0000
+++ b/libexec/ld.elf_so/symver.c        Tue May 07 13:01:07 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: symver.c,v 1.2 2013/05/06 19:59:30 christos Exp $      */
+/*     $NetBSD: symver.c,v 1.3 2013/05/07 13:01:07 christos Exp $      */
 
 /*-
  * Copyright 1996, 1997, 1998, 1999, 2000 John D. Polstra.
@@ -59,7 +59,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: symver.c,v 1.2 2013/05/06 19:59:30 christos Exp $");
+__RCSID("$NetBSD: symver.c,v 1.3 2013/05/07 13:01:07 christos Exp $");
 
 #include <sys/param.h>
 #include <sys/exec_elf.h>
@@ -96,6 +96,7 @@
        return 0;
 }
 
+#ifdef RTLD_LOADER
 static Obj_Entry *
 locate_dependency(const Obj_Entry *obj, const char *name)
 {
@@ -329,3 +330,4 @@
 
        return 0;
 }
+#endif



Home | Main Index | Thread Index | Old Index