From 1ebba33ece5a998d3d79fa14adca3ae7985cbff5 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Wed, 16 Aug 2000 06:30:08 +0000 Subject: Update. 2000-08-15 Ulrich Drepper * sysdeps/generic/ldsodefs.h: Declare _nl_nloaded. * elf/Versions [ld] (GLIBC_2.2): Add _nl_nloaded. * elf/dl-support.c: Define _nl_nloaded. * elf/rtld.c: Likewise. Increment _nl_nloaded for rtld itself. * elf/dl-object.c (_dl_new_object): Increment _nl_nloaded after adding object to global list. * elf/dl-close.c (_dl_close): Decrement _nl_nloaded after removing from _dl_loaded list. * elf/dl-load.c (_dl_map_object_from_fd): Likewise. * elf/dl-fini.c (_dl_fini): Use _nl_nloaded instead of computing the number here. * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Mask, not unmask, exceptions. * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Unmask, not mask, exceptions. Reported by Harvey J. Stein . --- elf/dl-close.c | 1 + 1 file changed, 1 insertion(+) (limited to 'elf/dl-close.c') diff --git a/elf/dl-close.c b/elf/dl-close.c index 6bdedd1..cbbb2ae 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -166,6 +166,7 @@ _dl_close (void *_map) else _dl_loaded = imap->l_next; #endif + --_dl_nloaded; if (imap->l_next) imap->l_next->l_prev = imap->l_prev; -- cgit v1.1