diff options
author | Eric Andersen <andersen@codepoet.org> | 2005-04-12 23:14:17 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2005-04-12 23:14:17 +0000 |
commit | a33e642102ded1ff1491d84a823f1d35c8e9a979 (patch) | |
tree | 9731c8e56d843abb0781427edb115d8143aad4dd /ldso | |
parent | 895f19d4e54cccc86c958f738cd8ad0ff0a15792 (diff) |
Only dl-startup.c should be using the SEND_STDERR macros,
which are intended only for early debugging support.
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/ldso.c | 8 |
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]) { |