From 75d39ff2124ae8cdee6f9b1788acf8be53b76a20 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 21 Jun 2011 11:23:25 -0400 Subject: Add missing DL_CALL_FCT --- elf/dl-close.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/dl-close.c b/elf/dl-close.c index 229e288..6f8d9d2 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -123,12 +123,15 @@ _dl_close_worker (struct link_map *map) { if (map->l_type == lt_loaded) dl_close_state = rerun; - else if (map->l_type == lt_library) +#if 1 + else if (map->l_type == lt_library && map->l_initfini != map->l_orig_initfini) { 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. */ -- cgit v1.1