diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-27 09:34:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-27 09:34:31 +0000 |
commit | 62dcee574f77522535c9062203beec1fad2b794a (patch) | |
tree | 0a1cd6bae8aac9a0d3dcfa0de469b8f96313bb8d /sysdeps/generic/ldsodefs.h | |
parent | 4d8bbe638067929150a56ff9b625b1454eea336f (diff) | |
download | glibc-62dcee574f77522535c9062203beec1fad2b794a.tar glibc-62dcee574f77522535c9062203beec1fad2b794a.tar.gz glibc-62dcee574f77522535c9062203beec1fad2b794a.tar.bz2 glibc-62dcee574f77522535c9062203beec1fad2b794a.zip |
Replace _dl_debug_* variables with _dl_debug_mask.
Diffstat (limited to 'sysdeps/generic/ldsodefs.h')
-rw-r--r-- | sysdeps/generic/ldsodefs.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sysdeps/generic/ldsodefs.h b/sysdeps/generic/ldsodefs.h index 7d9907b8b6..ee13591b78 100644 --- a/sysdeps/generic/ldsodefs.h +++ b/sysdeps/generic/ldsodefs.h @@ -184,6 +184,7 @@ extern struct link_map *_dl_profile_map; extern const char *_dl_profile_output; /* If nonzero the appropriate debug information is printed. */ +#if 0 extern int _dl_debug_libs; extern int _dl_debug_impcalls; extern int _dl_debug_bindings; @@ -191,6 +192,17 @@ extern int _dl_debug_symbols; extern int _dl_debug_versions; extern int _dl_debug_reloc; extern int _dl_debug_files; +#else +extern int _dl_debug_mask; +#define DL_DEBUG_LIBS (1 << 0) +#define DL_DEBUG_IMPCALLS (1 << 1) +#define DL_DEBUG_BINDINGS (1 << 2) +#define DL_DEBUG_SYMBOLS (1 << 3) +#define DL_DEBUG_VERSIONS (1 << 4) +#define DL_DEBUG_RELOC (1 << 5) +#define DL_DEBUG_FILES (1 << 6) +#define DL_DEBUG_STATISTICS (1 << 7) +#endif /* Expect cache ID. */ extern int _dl_correct_cache_id; |