From: Ulrich Drepper Date: Sat, 17 Mar 2001 00:01:01 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2_2_3~250 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e1f578d63b68f2c2b55fbd4e46086f1878de0cee;p=platform%2Fupstream%2Fglibc.git Update. 2001-02-06 Jakub Jelinek * elf/dl-load.c (_dl_map_object): Don't test l_opencount when looking for name matches. --- diff --git a/ChangeLog b/ChangeLog index 76e0263..8821b88 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-02-06 Jakub Jelinek + + * elf/dl-load.c (_dl_map_object): Don't test l_opencount when + looking for name matches. + 2001-02-26 Jakub Jelinek * sysdeps/generic/sigcontextinfo.h (CALL_SIGHANDLER): Define. diff --git a/elf/dl-load.c b/elf/dl-load.c index 0a5603f..873a0ba 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1514,9 +1514,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded, /* If the requested name matches the soname of a loaded object, use that object. Elide this check for names that have not yet been opened. */ - /* XXX Is this test still correct after the reference counter - handling rewrite? */ - if (l->l_opencount == 0) + if (l->l_faked == 0) continue; if (!_dl_name_match_p (name, l)) {