From a33e642102ded1ff1491d84a823f1d35c8e9a979 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Tue, 12 Apr 2005 23:14:17 +0000 Subject: Only dl-startup.c should be using the SEND_STDERR macros, which are intended only for early debugging support. --- ldso/ldso/ldso.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ldso/ldso/ldso.c') diff --git a/ldso/ldso/ldso.c b/ldso/ldso/ldso.c index 80dcf2593..b6174c09e 100644 --- a/ldso/ldso/ldso.c +++ b/ldso/ldso/ldso.c @@ -129,7 +129,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr, #ifdef __SUPPORT_LD_DEBUG_EARLY__ /* Wahoo!!! */ - SEND_STDERR("Cool, we managed to make a function call.\n"); + _dl_dprintf(_dl_debug_file, "Cool, we managed to make a function call.\n"); #endif /* Store the page size for later use */ @@ -217,8 +217,8 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr, #ifdef __SUPPORT_LD_DEBUG_EARLY__ if (app_tpnt->loadaddr) { - SEND_STDERR("Position Independent Executable: app_tpnt->loadaddr="); - SEND_ADDRESS_STDERR(app_tpnt->loadaddr, 1); + _dl_dprintf(_dl_debug_file, "Position Independent Executable: " + "app_tpnt->loadaddr=%x\n", app_tpnt->loadaddr); } #endif } @@ -246,7 +246,7 @@ void _dl_get_ready_to_run(struct elf_resolve *tpnt, unsigned long load_addr, * again once we are done. */ #ifdef __SUPPORT_LD_DEBUG_EARLY__ - SEND_STDERR("calling mprotect on the application program\n"); + _dl_dprintf(_dl_debug_file, "calling mprotect on the application program\n"); #endif /* Now cover the application program. */ if (app_tpnt->dynamic_info[DT_TEXTREL]) { -- cgit v1.2.3