From 62dcee574f77522535c9062203beec1fad2b794a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 27 Feb 2001 09:34:31 +0000 Subject: Replace _dl_debug_* variables with _dl_debug_mask. --- elf/dl-close.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'elf/dl-close.c') 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); -- cgit v1.2.3