summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-10 12:04:08 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-10 12:04:08 +0000
commitdb0b91a9060ff7a2b00c42fafbd00ca3c50360a6 (patch)
treefa483e4daff02adde71175e3464eedb2c688fa90 /elf
parentc063ba610a6058cacddf2e3d156f478c7b969f87 (diff)
downloadglibc-db0b91a9060ff7a2b00c42fafbd00ca3c50360a6.tar.gz
glibc-db0b91a9060ff7a2b00c42fafbd00ca3c50360a6.tar.xz
glibc-db0b91a9060ff7a2b00c42fafbd00ca3c50360a6.zip
Update.
1998-03-10  Ulrich Drepper  <drepper@cygnus.com>

	* elf/dl-lookup.c (_dl_lookup_versioned_symbol): Print version
	symbol in debug message.
	(_dl_lookup_versioned_symbol_skip): Likewise.

	* sysdeps/unix/readdir_r.c: Zero out *result on EOF.
	* manual/filesys/texi: Document this.
	0600.  Reported by Greg Alexander <galexand@sietch.bloomington.in.us>.
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 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;