diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | elf/dl-close.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 6cb87f2eb1..ba4ea3636f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2012-08-16 Gary Benson <gbenson@redhat.com> + + * elf/dl-close.c (_dl_close_worker): Also set r->r_map when + unmapping the first object in a namespace. + 2012-08-16 Roland McGrath <roland@hack.frob.com> * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ... diff --git a/elf/dl-close.c b/elf/dl-close.c index 45b218787b..216bd81b62 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -641,7 +641,7 @@ _dl_close_worker (struct link_map *map) #ifdef SHARED assert (nsid != LM_ID_BASE); #endif - ns->_ns_loaded = imap->l_next; + r->r_map = ns->_ns_loaded = imap->l_next; } --ns->_ns_nloaded; |