about summary refs log tree commit diff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-10-27 20:14:53 +0000
committerUlrich Drepper <drepper@redhat.com>2006-10-27 20:14:53 +0000
commit131c4428c67c1147961cfbb8dbcb39a4b341d63f (patch)
tree461ef3db842de404178d255e638460811db16bfd /elf/dl-open.c
parent4de0b4abf567b94997ee99c55d64a4e6aacfa4ea (diff)
downloadglibc-131c4428c67c1147961cfbb8dbcb39a4b341d63f.tar.gz
glibc-131c4428c67c1147961cfbb8dbcb39a4b341d63f.tar.xz
glibc-131c4428c67c1147961cfbb8dbcb39a4b341d63f.zip
* elf/dl-close.c (_dl_close_worker): Renamed from _dl_close and
	split out locking and parameter checking.
	(_dl_close): Call _dl_close_worker after locking and checking.
	* elf/dl-open.c (_dl_open): Call _dl_close_worker instead of
	_dl_close.

	we are sure we do not need it anymore for _dl_close.  Also move
	* elf/dl-lookup.c (_dl_debug_bindings): Remove unused symbol_scope
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 2a891f244d..c28b6b1e77 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -586,7 +586,7 @@ no more namespaces available for dlmopen()"));
 	    GL(dl_tls_dtv_gaps) = true;
 #endif
 
-	  _dl_close (args.map);
+	  _dl_close_worker (args.map);
 	}
 
       assert (_dl_debug_initialize (0, args.nsid)->r_state == RT_CONSISTENT);