summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ldso/ldso/ldso.c8
1 files changed, 4 insertions, 4 deletions
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]) {