diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-28 07:43:29 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-28 07:43:29 +0000 |
commit | 406191784ba76410b644aa117cbf222ac7035988 (patch) | |
tree | eabb9b6858a4c84574994e5eeb386597f85a316f /sysdeps/powerpc | |
parent | 35fc382add7924e79b9dc706125593c14905a425 (diff) | |
download | glibc-406191784ba76410b644aa117cbf222ac7035988.tar.gz glibc-406191784ba76410b644aa117cbf222ac7035988.tar.xz glibc-406191784ba76410b644aa117cbf222ac7035988.zip |
Update.
* sysdeps/powerpc/elf/libc-start.c: Use new output functions and _dl_debug_mask.
Diffstat (limited to 'sysdeps/powerpc')
-rw-r--r-- | sysdeps/powerpc/elf/libc-start.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sysdeps/powerpc/elf/libc-start.c b/sysdeps/powerpc/elf/libc-start.c index fcd4a85551..8ac2eacef7 100644 --- a/sysdeps/powerpc/elf/libc-start.c +++ b/sysdeps/powerpc/elf/libc-start.c @@ -94,8 +94,8 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av, /* Call the initializer of the libc. */ #ifdef SHARED - if (_dl_debug_impcalls) - _dl_debug_message (1, "\ninitialize libc\n\n", NULL); + if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) + _dl_debug_printf ("\ninitialize libc\n\n"); #endif __libc_init_first (argc, argv, __environ); @@ -105,15 +105,15 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av, /* Call the initializer of the program, if any. */ #ifdef SHARED - if (_dl_debug_impcalls) - _dl_debug_message (1, "\ninitialize program: ", argv[0], "\n\n", NULL); + if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) + _dl_debug_printf ("\ninitialize program: %s\n\n", argv[0]); #endif if (stinfo->init) stinfo->init (argc, argv, __environ, auxvec); #ifdef SHARED - if (_dl_debug_impcalls) - _dl_debug_message (1, "\ntransferring control: ", argv[0], "\n\n", NULL); + if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0)) + _dl_debug_printf ("\ntransferring control: %s\n\n", argv[0]); #endif exit (stinfo->main (argc, argv, __environ, auxvec)); |