aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-27 09:34:31 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-27 09:34:31 +0000
commit62dcee574f77522535c9062203beec1fad2b794a (patch)
tree0a1cd6bae8aac9a0d3dcfa0de469b8f96313bb8d /elf/dl-init.c
parent4d8bbe638067929150a56ff9b625b1454eea336f (diff)
downloadglibc-62dcee574f77522535c9062203beec1fad2b794a.zip
glibc-62dcee574f77522535c9062203beec1fad2b794a.tar.gz
glibc-62dcee574f77522535c9062203beec1fad2b794a.tar.bz2
Replace _dl_debug_* variables with _dl_debug_mask.
Diffstat (limited to 'elf/dl-init.c')
-rw-r--r--elf/dl-init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-init.c b/elf/dl-init.c
index e77edbb..5025187 100644
--- a/elf/dl-init.c
+++ b/elf/dl-init.c
@@ -53,7 +53,7 @@ call_init (struct link_map *l, int argc, char **argv, char **env)
return;
/* Print a debug message if wanted. */
- if (__builtin_expect (_dl_debug_impcalls, 0))
+ if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
_dl_debug_message (1, "\ncalling init: ",
l->l_name[0] ? l->l_name : _dl_argv[0], "\n\n", NULL);
@@ -108,7 +108,7 @@ _dl_init (struct link_map *main_map, int argc, char **argv, char **env)
ElfW(Addr) *addrs;
unsigned int cnt;
- if (__builtin_expect (_dl_debug_impcalls, 0))
+ if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
_dl_debug_message (1, "\ncalling preinit: ",
main_map->l_name[0]
? main_map->l_name : _dl_argv[0], "\n\n", NULL);