aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-02-26 06:11:21 +0000
committerUlrich Drepper <drepper@redhat.com>2005-02-26 06:11:21 +0000
commit21e2d3a4ebd237784a0e59a4e533e1f229a49880 (patch)
treed5fdb8c385d734d7192049761293855270f50905 /elf
parent3053ff11b63e0a274c2f111e3dac61c787de639f (diff)
downloadglibc-21e2d3a4ebd237784a0e59a4e533e1f229a49880.zip
glibc-21e2d3a4ebd237784a0e59a4e533e1f229a49880.tar.gz
glibc-21e2d3a4ebd237784a0e59a4e533e1f229a49880.tar.bz2
(_dl_debug_bindings): Add namespace information to debug output.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-lookup.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/dl-lookup.c b/elf/dl-lookup.c
index fdb0769..24fc89a 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -1,5 +1,5 @@
/* Look up a symbol in the loaded objects.
- Copyright (C) 1995-2002, 2003, 2004 Free Software Foundation, Inc.
+ Copyright (C) 1995-2002, 2003, 2004, 2005 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -395,11 +395,13 @@ _dl_debug_bindings (const char *undef_name, struct link_map *undef_map,
if (GLRO(dl_debug_mask) & DL_DEBUG_BINDINGS)
{
- _dl_debug_printf ("binding file %s to %s: %s symbol `%s'",
+ _dl_debug_printf ("binding file %s [%lu] to %s [%lu]: %s symbol `%s'",
(reference_name[0]
? reference_name
: (rtld_progname ?: "<main program>")),
+ undef_map->l_ns,
value->m->l_name[0] ? value->m->l_name : rtld_progname,
+ value->m->l_ns,
protected ? "protected" : "normal", undef_name);
if (version)
_dl_debug_printf_c (" [%s]\n", version->name);