svn commit: trunk/uClibc/ldso/libdl

sjhill at uclibc.org sjhill at uclibc.org
Sun Dec 11 00:55:50 UTC 2005


Author: sjhill
Date: 2005-12-10 16:55:30 -0800 (Sat, 10 Dec 2005)
New Revision: 12833

Log:
Fix debugging.


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


Changeset:
Modified: trunk/uClibc/ldso/libdl/libdl.c
===================================================================
--- trunk/uClibc/ldso/libdl/libdl.c	2005-12-10 23:04:41 UTC (rev 12832)
+++ trunk/uClibc/ldso/libdl/libdl.c	2005-12-11 00:55:30 UTC (rev 12833)
@@ -69,9 +69,6 @@
 /* When libdl is linked as a static library, we need to replace all
  * the symbols that otherwise would have been loaded in from ldso... */
 
-#ifdef __SUPPORT_LD_DEBUG__
-char *_dl_debug  = 0;
-#endif
 const char *_dl_progname       = "";        /* Program name */
 char *_dl_library_path         = 0;         /* Where we look for libraries */
 char *_dl_ldsopath             = 0;         /* Location of the shared lib loader */
@@ -88,6 +85,9 @@
 #endif /* SHARED */
 
 #ifdef __SUPPORT_LD_DEBUG__
+char *_dl_debug = 0;
+int _dl_debug_file = 2;
+
 # define _dl_if_debug_print(fmt, args...) \
 	do { \
 	if (_dl_debug) \




More information about the uClibc-cvs mailing list