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.
This commit is contained in:
Ulrich Drepper 2002-06-30 08:58:21 +00:00
parent 0b5045fe2c
commit 8081721a9a
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.
2002-05-28 H.J. Lu <hjl@gnu.org> 2002-05-28 H.J. Lu <hjl@gnu.org>
* elf/dl-deps.c (_dl_map_object_deps): Don't add objects which * elf/dl-deps.c (_dl_map_object_deps): Don't add objects which

View File

@ -119,6 +119,10 @@ internal_function
_dl_signal_cerror (int errcode, const char *objname, const char *occation, _dl_signal_cerror (int errcode, const char *objname, const char *occation,
const char *errstring) 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) if (receiver)
{ {
/* We are inside _dl_receive_error. Call the user supplied /* We are inside _dl_receive_error. Call the user supplied