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 printing the pathname of the shared object...
details: https://anonhg.NetBSD.org/src/rev/9577401912de
branches: trunk
changeset: 768287:9577401912de
user: christos <christos%NetBSD.org@localhost>
date: Sat Aug 13 22:24:57 2011 +0000
description:
printing the pathname of the shared object is much more useful than the
object's address.
diffstat:
libexec/ld.elf_so/symbol.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 15aca8c3c8b6 -r 9577401912de libexec/ld.elf_so/symbol.c
--- a/libexec/ld.elf_so/symbol.c Sat Aug 13 22:24:24 2011 +0000
+++ b/libexec/ld.elf_so/symbol.c Sat Aug 13 22:24:57 2011 +0000
@@ -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)
Home |
Main Index |
Thread Index |
Old Index