mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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.
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user