1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2001-02-06  Jakub Jelinek  <jakub@redhat.com>

	* elf/dl-load.c (_dl_map_object): Don't test l_opencount when
	looking for name matches.
This commit is contained in:
Ulrich Drepper
2001-03-17 00:01:01 +00:00
parent a88775bd22
commit e1f578d63b
2 changed files with 6 additions and 3 deletions

View File

@ -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))
{