diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-10-21 06:02:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-10-21 06:02:49 +0000 |
commit | 8699e7b1daa5d250b8bc69e1ecffae80170277e5 (patch) | |
tree | 6ee2841f9875e4bf2d1f73f1539b0ad3bd9b5406 /elf/unload2.c | |
parent | f6de2239e2cb1af87b36dbd8712bd27f42ae7d54 (diff) | |
download | glibc-8699e7b1daa5d250b8bc69e1ecffae80170277e5.tar glibc-8699e7b1daa5d250b8bc69e1ecffae80170277e5.tar.gz glibc-8699e7b1daa5d250b8bc69e1ecffae80170277e5.tar.bz2 glibc-8699e7b1daa5d250b8bc69e1ecffae80170277e5.zip |
Update.
* elf/dl-close.c: Decrement opencount for all dependencies which can
be removed even if the object is not yet unloaded.
* elf/dl-deps.c (_dl_map_object_deps): If dependency is already in
the list decrement opencount of all dependencies.
* elf/dl-load.c (_dl_map_object_from_fd): Increment object of object
and all dependencies.
(_dl_map_object): Likewise.
* elf/dl-lookup.c (add_dependency): Likewise.
* elf/loadtest.c: Add debug when with more output.
Diffstat (limited to 'elf/unload2.c')
-rw-r--r-- | elf/unload2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/unload2.c b/elf/unload2.c index b544e794c8..7a38053433 100644 --- a/elf/unload2.c +++ b/elf/unload2.c @@ -10,7 +10,8 @@ for (map = _r_debug.r_map; map != NULL; map = map->l_next) \ if (map->l_type == lt_loaded) \ printf ("name = \"%s\", opencount = %d\n", \ - map->l_name, (int) map->l_opencount) + map->l_name, (int) map->l_opencount); \ + fflush (stdout) int main (void) |