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 make DEBUG compile without RTLD_DEBUG



details:   https://anonhg.NetBSD.org/src/rev/335ffc8bad44
branches:  trunk
changeset: 762616:335ffc8bad44
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Feb 24 10:58:54 2011 +0000

description:
make DEBUG compile without RTLD_DEBUG

diffstat:

 libexec/ld.elf_so/rtld.c |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (30 lines):

diff -r 419e6a731a5c -r 335ffc8bad44 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c  Thu Feb 24 10:56:00 2011 +0000
+++ b/libexec/ld.elf_so/rtld.c  Thu Feb 24 10:58:54 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rtld.c,v 1.137 2010/12/24 12:41:43 skrll Exp $  */
+/*     $NetBSD: rtld.c,v 1.138 2011/02/24 10:58:54 pooka Exp $  */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.137 2010/12/24 12:41:43 skrll Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.138 2011/02/24 10:58:54 pooka Exp $");
 #endif /* not lint */
 
 #include <err.h>
@@ -325,8 +325,10 @@
        const Obj_Entry **real___mainprog_obj;
        char ***real_environ;
 #ifdef DEBUG
+       const char     *ld_debug;
+#endif
+#ifdef RTLD_DEBUG
        int i = 0;
-       const char     *ld_debug;
 #endif
 
        /*



Home | Main Index | Thread Index | Old Index