diff options
Diffstat (limited to 'elf/dl-error.c')
-rw-r--r-- | elf/dl-error.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |