summary refs log tree commit diff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@gmail.com>2011-06-21 12:40:22 -0400
committerUlrich Drepper <drepper@gmail.com>2011-06-21 12:40:22 -0400
commitb36b153d5deb8fad8490b2544d416b24c9be922d (patch)
tree16ed74a9accc8fe0157a922bb8a6b30b6311604e /elf/dl-close.c
parent75d39ff2124ae8cdee6f9b1788acf8be53b76a20 (diff)
downloadglibc-b36b153d5deb8fad8490b2544d416b24c9be922d.tar.gz
glibc-b36b153d5deb8fad8490b2544d416b24c9be922d.tar.xz
glibc-b36b153d5deb8fad8490b2544d416b24c9be922d.zip
Revert unwanted patch
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 6f8d9d2c80..229e288ef6 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -123,15 +123,12 @@ _dl_close_worker (struct link_map *map)
 	{
 	  if (map->l_type == lt_loaded)
 	    dl_close_state = rerun;
-#if 1
-	  else if (map->l_type == lt_library && map->l_initfini != map->l_orig_initfini)
+	  else if (map->l_type == lt_library)
 	    {
 	      struct link_map **oldp = map->l_initfini;
 	      map->l_initfini = map->l_orig_initfini;
- _dl_printf("aaa\n");
 	      _dl_scope_free (oldp);
 	    }
-#endif
 	}
 
       /* There are still references to this object.  Do nothing more.  */