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 unnecessary #ifdef RTLD_DEBUG
details: https://anonhg.NetBSD.org/src/rev/7c75fc3975d2
branches: trunk
changeset: 759895:7c75fc3975d2
user: skrll <skrll%NetBSD.org@localhost>
date: Sun Dec 19 17:17:50 2010 +0000
description:
Remove unnecessary #ifdef RTLD_DEBUG
diffstat:
libexec/ld.elf_so/rtld.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (28 lines):
diff -r e44660afd44c -r 7c75fc3975d2 libexec/ld.elf_so/rtld.c
--- a/libexec/ld.elf_so/rtld.c Sun Dec 19 16:54:10 2010 +0000
+++ b/libexec/ld.elf_so/rtld.c Sun Dec 19 17:17:50 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.134 2010/12/16 22:47:27 joerg Exp $ */
+/* $NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.134 2010/12/16 22:47:27 joerg Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.135 2010/12/19 17:17:50 skrll Exp $");
#endif /* not lint */
#include <err.h>
@@ -744,9 +744,7 @@
linkp = &_rtld_objlist->next;
while ((obj = *linkp) != NULL) {
if (obj->refcount == 0) {
-#ifdef RTLD_DEBUG
dbg(("unloading \"%s\"", obj->path));
-#endif
if (obj->ehdr != MAP_FAILED)
munmap(obj->ehdr, _rtld_pagesz);
munmap(obj->mapbase, obj->mapsize);
Home |
Main Index |
Thread Index |
Old Index