1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

Add missing DL_CALL_FCT

This commit is contained in:
Ulrich Drepper
2011-06-21 11:23:25 -04:00
parent 42675c6ff0
commit 75d39ff212
3 changed files with 16 additions and 7 deletions

View File

@ -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. */