From 8081721a9a6415e5974c5e3915b06e5177f410ed Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sun, 30 Jun 2002 08:58:21 +0000 Subject: [PATCH] Update. 2002-05-29 H.J. Lu * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug is turned on. --- ChangeLog | 5 +++++ elf/dl-error.c | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/ChangeLog b/ChangeLog index 6852760..bb898dc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2002-05-29 H.J. Lu + + * elf/dl-error.c (_dl_signal_cerror): Report error if ld.so debug + is turned on. + 2002-05-28 H.J. Lu * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which diff --git a/elf/dl-error.c b/elf/dl-error.c index fbb35d2..ccb4e4d 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 -- 2.7.4