Module Name:    src
Committed By:   skrll
Date:           Mon May  6 07:58:43 UTC 2013

Modified Files:
        src/libexec/ld.elf_so: rtld.c

Log Message:
Disalble a debug only where it causes problems.


To generate a diff of this commit:
cvs rdiff -u -r1.163 -r1.164 src/libexec/ld.elf_so/rtld.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.163 src/libexec/ld.elf_so/rtld.c:1.164
--- src/libexec/ld.elf_so/rtld.c:1.163	Fri May  3 18:31:24 2013
+++ src/libexec/ld.elf_so/rtld.c	Mon May  6 07:58:43 2013
@@ -1,4 +1,4 @@
-/*	$NetBSD: rtld.c,v 1.163 2013/05/03 18:31:24 matt Exp $	 */
+/*	$NetBSD: rtld.c,v 1.164 2013/05/06 07:58:43 skrll Exp $	 */
 
 /*
  * Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.163 2013/05/03 18:31:24 matt Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.164 2013/05/06 07:58:43 skrll Exp $");
 #endif /* not lint */
 
 #include <sys/param.h>
@@ -443,7 +443,7 @@ _rtld(Elf_Addr *sp, Elf_Addr relocbase)
 	debug = 1;
 	dbg(("sp = %p, argc = %ld, argv = %p <%s> relocbase %p", sp,
 	    (long)sp[2], &sp[3], (char *) sp[3], (void *)relocbase));
-#if 0
+#ifndef __x86_64__
 	dbg(("got is at %p, dynamic is at %p", _GLOBAL_OFFSET_TABLE_,
 	    &_DYNAMIC));
 #endif

Reply via email to