Module Name: src
Committed By: christos
Date: Sat Aug 13 22:24:57 UTC 2011
Modified Files:
src/libexec/ld.elf_so: symbol.c
Log Message:
printing the pathname of the shared object is much more useful than the
object's address.
To generate a diff of this commit:
cvs rdiff -u -r1.57 -r1.58 src/libexec/ld.elf_so/symbol.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/symbol.c
diff -u src/libexec/ld.elf_so/symbol.c:1.57 src/libexec/ld.elf_so/symbol.c:1.58
--- src/libexec/ld.elf_so/symbol.c:1.57 Sat Jun 25 01:45:12 2011
+++ src/libexec/ld.elf_so/symbol.c Sat Aug 13 18:24:57 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: symbol.c,v 1.57 2011/06/25 05:45:12 nonaka Exp $ */
+/* $NetBSD: symbol.c,v 1.58 2011/08/13 22:24:57 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: symbol.c,v 1.57 2011/06/25 05:45:12 nonaka Exp $");
+__RCSID("$NetBSD: symbol.c,v 1.58 2011/08/13 22:24:57 christos Exp $");
#endif /* not lint */
#include <err.h>
@@ -255,7 +255,7 @@
assert(symnum < obj->nchains);
symp = obj->symtab + symnum;
strp = obj->strtab + symp->st_name;
- rdbg(("check \"%s\" vs \"%s\" in %p", name, strp, obj));
+ rdbg(("check \"%s\" vs \"%s\" in %s", name, strp, obj->path));
if (name[1] != strp[1] || strcmp(name, strp))
continue;
if (symp->st_shndx != SHN_UNDEF)