mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Replace _dl_debug_* variables with _dl_debug_mask.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user