mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
Update.
* sysdeps/powerpc/elf/libc-start.c: Use new output functions and _dl_debug_mask.
This commit is contained in:
parent
35fc382add
commit
406191784b
@ -1,5 +1,8 @@
|
|||||||
2001-02-27 Ulrich Drepper <drepper@redhat.com>
|
2001-02-27 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* sysdeps/powerpc/elf/libc-start.c: Use new output functions and
|
||||||
|
_dl_debug_mask.
|
||||||
|
|
||||||
* elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
|
* elf/Versions [ld]: Don't export _dl_debug_message anymore. Export
|
||||||
_dl_debug_printf.
|
_dl_debug_printf.
|
||||||
* elf/dl-misc.c: Remove definition of _dl_sysdep_output and
|
* elf/dl-misc.c: Remove definition of _dl_sysdep_output and
|
||||||
|
@ -94,8 +94,8 @@ BP_SYM (__libc_start_main) (int argc, char *__unbounded *__unbounded ubp_av,
|
|||||||
|
|
||||||
/* Call the initializer of the libc. */
|
/* Call the initializer of the libc. */
|
||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
if (_dl_debug_impcalls)
|
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
|
||||||
_dl_debug_message (1, "\ninitialize libc\n\n", NULL);
|
_dl_debug_printf ("\ninitialize libc\n\n");
|
||||||
#endif
|
#endif
|
||||||
__libc_init_first (argc, argv, __environ);
|
__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. */
|
/* Call the initializer of the program, if any. */
|
||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
if (_dl_debug_impcalls)
|
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
|
||||||
_dl_debug_message (1, "\ninitialize program: ", argv[0], "\n\n", NULL);
|
_dl_debug_printf ("\ninitialize program: %s\n\n", argv[0]);
|
||||||
#endif
|
#endif
|
||||||
if (stinfo->init)
|
if (stinfo->init)
|
||||||
stinfo->init (argc, argv, __environ, auxvec);
|
stinfo->init (argc, argv, __environ, auxvec);
|
||||||
|
|
||||||
#ifdef SHARED
|
#ifdef SHARED
|
||||||
if (_dl_debug_impcalls)
|
if (__builtin_expect (_dl_debug_mask & DL_DEBUG_IMPCALLS, 0))
|
||||||
_dl_debug_message (1, "\ntransferring control: ", argv[0], "\n\n", NULL);
|
_dl_debug_printf ("\ntransferring control: %s\n\n", argv[0]);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
exit (stinfo->main (argc, argv, __environ, auxvec));
|
exit (stinfo->main (argc, argv, __environ, auxvec));
|
||||||
|
Loading…
Reference in New Issue
Block a user