[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso

andersen at uclibc.org andersen at uclibc.org
Tue Apr 12 23:14:18 UTC 2005


Author: andersen
Date: 2005-04-12 17:14:17 -0600 (Tue, 12 Apr 2005)
New Revision: 10085

Log:
Only dl-startup.c should be using the SEND_STDERR macros,
which are intended only for early debugging support.


Modified:
   trunk/uClibc/ldso/ldso/ldso.c


Changeset:
Modified: trunk/uClibc/ldso/ldso/ldso.c
===================================================================
--- trunk/uClibc/ldso/ldso/ldso.c	2005-04-12 23:07:43 UTC (rev 10084)
+++ trunk/uClibc/ldso/ldso/ldso.c	2005-04-12 23:14:17 UTC (rev 10085)
@@ -129,7 +129,7 @@
 
 #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 @@
 
 #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 @@
 			 * 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]) {




More information about the uClibc-cvs mailing list