about summary refs log tree commit diff
path: root/elf/dl-lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'elf/dl-lookup.c')
-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 9ee8381f66..95399ba0b8 100644
--- a/elf/dl-lookup.c
+++ b/elf/dl-lookup.c
@@ -345,7 +345,8 @@ _dl_lookup_versioned_symbol (const char *undef_name, const ElfW(Sym) **ref,
     _dl_debug_message ("\tbinding file ", reference_name, " to ",
 		       current_value.m->l_name[0]
 		       ? current_value.m->l_name : _dl_argv[0],
-		       ": symbol `", undef_name, "'\n", NULL);
+		       ": symbol `", undef_name, "' [", version->name,
+		       "]\n", NULL);
 
   *ref = current_value.s;
   return current_value.m->l_addr;
@@ -398,7 +399,8 @@ _dl_lookup_versioned_symbol_skip (const char *undef_name,
     _dl_debug_message ("\tbinding file ", reference_name, " to ",
 		       current_value.m->l_name[0]
 		       ? current_value.m->l_name : _dl_argv[0],
-		       ": symbol `", undef_name, "'\n", NULL);
+		       ": symbol `", undef_name, "' [", version->name,
+		       "]\n", NULL);
 
   *ref = current_value.s;
   return current_value.m->l_addr;