diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-10-24 01:02:15 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-10-24 01:02:15 +0000 |
commit | a881e0a074e448f282e44b1d172b46199697755b (patch) | |
tree | 85652f02c63ce55c72f4366a8bf6a48758cba00b /elf/rtld.c | |
parent | c41c89d35db92458777bec25cf2037e3e91a96bb (diff) | |
download | glibc-a881e0a074e448f282e44b1d172b46199697755b.tar glibc-a881e0a074e448f282e44b1d172b46199697755b.tar.gz glibc-a881e0a074e448f282e44b1d172b46199697755b.tar.bz2 glibc-a881e0a074e448f282e44b1d172b46199697755b.zip |
Update.
* include/link.h (struct link_map): New bit field l_faked.
* elf/dl-deps.c: Use l_faked field in struct link_map instead of
the magic l_opencount==0.
* elf/dl-load.c: Likewise.
* elf/dl-version.c: Likewise.
* elf/rtld.c: Likewise.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r-- | elf/rtld.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/rtld.c b/elf/rtld.c index d17d83961d..ea5d7b5a3d 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -891,7 +891,7 @@ of this helper program; chances are you did not intend to run this program.\n\ struct link_map *l; for (l = _dl_loaded->l_next; l; l = l->l_next) - if (l->l_opencount == 0) + if (l->l_faked) /* The library was not found. */ _dl_sysdep_message ("\t", l->l_libname->name, " => not found\n", NULL); @@ -948,7 +948,7 @@ of this helper program; chances are you did not intend to run this program.\n\ l = l->l_next; do { - if (l != &_dl_rtld_map && l->l_opencount > 0) + if (l != &_dl_rtld_map && ! l->l_faked) { args.l = l; _dl_receive_error (print_unresolved, relocate_doit, |