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/dl-deps.c | |
parent | c41c89d35db92458777bec25cf2037e3e91a96bb (diff) | |
download | glibc-a881e0a074e448f282e44b1d172b46199697755b.zip glibc-a881e0a074e448f282e44b1d172b46199697755b.tar.gz glibc-a881e0a074e448f282e44b1d172b46199697755b.tar.bz2 |
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/dl-deps.c')
-rw-r--r-- | elf/dl-deps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 566073e..c458292 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -495,7 +495,7 @@ _dl_map_object_deps (struct link_map *map, for (nlist = 0, runp = known; runp; runp = runp->unique) { - if (trace_mode && runp->map->l_opencount == 0) + if (trace_mode && runp->map->l_faked) /* This can happen when we trace the loading. */ --map->l_searchlist.r_nlist; else @@ -516,7 +516,7 @@ _dl_map_object_deps (struct link_map *map, map->l_searchlist.r_duplist = map->l_searchlist.r_list + nlist; for (cnt = 0, runp = known; runp; runp = runp->dup) - if (trace_mode && runp->map->l_opencount == 0) + if (trace_mode && runp->map->l_faked) /* This can happen when we trace the loading. */ --map->l_searchlist.r_nduplist; else |