Disalble a debug only where it causes problems.

This commit is contained in:
skrll 2013-05-06 07:58:43 +00:00
parent 144fe47c93
commit 5aa71ff59a

View File

@ -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