summary refs log tree commit diff
path: root/elf/dl-version.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-version.c
parent4d8bbe638067929150a56ff9b625b1454eea336f (diff)
downloadglibc-62dcee574f77522535c9062203beec1fad2b794a.tar.gz
glibc-62dcee574f77522535c9062203beec1fad2b794a.tar.xz
glibc-62dcee574f77522535c9062203beec1fad2b794a.zip
Replace _dl_debug_* variables with _dl_debug_mask.
Diffstat (limited to 'elf/dl-version.c')
-rw-r--r--elf/dl-version.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-version.c b/elf/dl-version.c
index fe54c7b00c..88bc4b6be8 100644
--- a/elf/dl-version.c
+++ b/elf/dl-version.c
@@ -1,5 +1,5 @@
 /* Handle symbol and library versioning.
-   Copyright (C) 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+   Copyright (C) 1997, 1998, 1999, 2000, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1997.
 
@@ -83,7 +83,7 @@ match_symbol (const char *name, ElfW(Word) hash, const char *string,
   ElfW(Verdef) *def;
 
   /* Display information about what we are doing while debugging.  */
-  if (__builtin_expect (_dl_debug_versions, 0))
+  if (__builtin_expect (_dl_debug_mask & DL_DEBUG_VERSIONS, 0))
     _dl_debug_message (1, "checking for version `", string, "' in file ",
 		       map->l_name[0] ? map->l_name : _dl_argv[0],
 		       " required by file ", name, "\n", NULL);