aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-06-30 08:58:21 +0000
committerUlrich Drepper <drepper@redhat.com>2002-06-30 08:58:21 +0000
commit8081721a9a6415e5974c5e3915b06e5177f410ed (patch)
tree578eb65e94219a83387186d6cc81f74350ff2fe2 /elf
parentUpdate. (diff)
downloadglibc-8081721a9a6415e5974c5e3915b06e5177f410ed.tar.gz
glibc-8081721a9a6415e5974c5e3915b06e5177f410ed.tar.bz2
glibc-8081721a9a6415e5974c5e3915b06e5177f410ed.zip
Update.
2002-05-29 H.J. Lu <hjl@gnu.org> * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug is turned on.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/elf/dl-error.c b/elf/dl-error.c
index fbb35d242c..ccb4e4dc49 100644
--- a/elf/dl-error.c
+++ b/elf/dl-error.c
@@ -119,6 +119,10 @@ internal_function
_dl_signal_cerror (int errcode, const char *objname, const char *occation,
const char *errstring)
{
+ if (__builtin_expect (GL(dl_debug_mask), 0))
+ INTUSE(_dl_debug_printf) ("%s: error: %s: %s (%s)\n", objname, occation,
+ errstring, receiver ? "continued" : "fatal");
+
if (receiver)
{
/* We are inside _dl_receive_error. Call the user supplied