diff options
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r-- | elf/dl-close.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c index df0572265d..723a9702fd 100644 --- a/elf/dl-close.c +++ b/elf/dl-close.c @@ -69,7 +69,8 @@ _dl_close (void *_map) if (map->l_opencount > 1 || map->l_type != lt_loaded) { /* There are still references to this object. Do nothing more. */ - if (__builtin_expect (_dl_debug_files, 0)) + if (//__builtin_expect (_dl_debug_files, 0)) + __builtin_expect (_dl_debug_mask & DL_DEBUG_FILES, 0)) { char buf[20]; @@ -133,7 +134,8 @@ _dl_close (void *_map) && imap->l_init_called) { /* When debugging print a message first. */ - if (__builtin_expect (_dl_debug_impcalls, 0)) + if (//__builtin_expect (_dl_debug_impcalls, 0)) + __builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) _dl_debug_message (1, "\ncalling fini: ", imap->l_name, "\n\n", NULL); |