[uClibc-cvs] svn commit: trunk/uClibc/ldso/ldso
andersen at uclibc.org
andersen at uclibc.org
Tue Apr 12 23:56:56 UTC 2005
Author: andersen
Date: 2005-04-12 17:56:55 -0600 (Tue, 12 Apr 2005)
New Revision: 10087
Log:
early debug stuff goes to stderr, not _dl_debug_file
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:52:29 UTC (rev 10086)
+++ trunk/uClibc/ldso/ldso/ldso.c 2005-04-12 23:56:55 UTC (rev 10087)
@@ -144,7 +144,7 @@
#ifdef __SUPPORT_LD_DEBUG_EARLY__
/* Wahoo!!! */
- _dl_dprintf(_dl_debug_file, "\nCool, ldso survived making function calls.\n");
+ _dl_dprintf(2, "\nCool, ldso survived making function calls.\n");
#endif
/* Now we have done the mandatory linking of some things. We are now
@@ -223,7 +223,7 @@
#ifdef __SUPPORT_LD_DEBUG_EARLY__
if (app_tpnt->loadaddr) {
- _dl_dprintf(_dl_debug_file, "Position Independent Executable: "
+ _dl_dprintf(2, "Position Independent Executable: "
"app_tpnt->loadaddr=%x\n", app_tpnt->loadaddr);
}
#endif
@@ -252,7 +252,7 @@
* again once we are done.
*/
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file, "calling mprotect on the application program\n");
+ _dl_dprintf(2, "calling mprotect on the application program\n");
#endif
/* Now cover the application program. */
if (app_tpnt->dynamic_info[DT_TEXTREL]) {
@@ -306,7 +306,7 @@
*ptmp = '\0';
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file, "Lib Loader:\t(%x) %s\n",
+ _dl_dprintf(2, "Lib Loader:\t(%x) %s\n",
tpnt->loadaddr, tpnt->libname);
#endif
}
@@ -438,10 +438,8 @@
tpnt1->rtld_flags = unlazy | RTLD_GLOBAL;
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file,
- "Loading:\t(%x) %s\n",
- tpnt1->loadaddr,
- tpnt1->libname);
+ _dl_dprintf(2,
+ "Loading:\t(%x) %s\n", tpnt1->loadaddr, tpnt1->libname);
#endif
#ifdef __LDSO_LDD_SUPPORT__
@@ -545,9 +543,7 @@
tpnt1->rtld_flags = unlazy | RTLD_GLOBAL;
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file,
- "Loading:\t(%x) %s\n",
- tpnt1->loadaddr, tpnt1->libname);
+ _dl_dprintf(2, "Loading:\t(%x) %s\n", tpnt1->loadaddr, tpnt1->libname);
#endif
#ifdef __LDSO_LDD_SUPPORT__
@@ -618,9 +614,7 @@
tpnt1->rtld_flags = unlazy | RTLD_GLOBAL;
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file,
- "Loading:\t(%x) %s\n",
- tpnt1->loadaddr, tpnt1->libname);
+ _dl_dprintf(2, "Loading:\t(%x) %s\n", tpnt1->loadaddr, tpnt1->libname);
#endif
#ifdef __LDSO_LDD_SUPPORT__
@@ -748,7 +742,7 @@
#endif
#ifdef __SUPPORT_LD_DEBUG_EARLY__
- _dl_dprintf(_dl_debug_file, "Beginning relocation fixups\n");
+ _dl_dprintf(2, "Beginning relocation fixups\n");
#endif
#ifdef __mips__
More information about the uClibc-cvs
mailing list