svn commit: trunk/uClibc/ldso/libdl

psm at uclibc.org psm at uclibc.org
Fri Oct 14 20:44:07 UTC 2005


Author: psm
Date: 2005-10-14 13:44:06 -0700 (Fri, 14 Oct 2005)
New Revision: 11864

Log:
Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED.

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


Changeset:
Modified: trunk/uClibc/ldso/libdl/libdl.c
===================================================================
--- trunk/uClibc/ldso/libdl/libdl.c	2005-10-14 20:42:59 UTC (rev 11863)
+++ trunk/uClibc/ldso/libdl/libdl.c	2005-10-14 20:44:06 UTC (rev 11864)
@@ -35,7 +35,7 @@
 #include <stdio.h>
 
 
-#if defined (__LIBDL_SHARED__)
+#ifdef SHARED
 
 /* When libdl is loaded as a shared library, we need to load in
  * and use a pile of symbols from ldso... */
@@ -64,7 +64,7 @@
 #endif
 
 
-#else /* __LIBDL_SHARED__ */
+#else /* SHARED */
 
 /* When libdl is linked as a static library, we need to replace all
  * the symbols that otherwise would have been loaded in from ldso... */
@@ -85,7 +85,7 @@
 #include "../ldso/dl-hash.c"
 #define _dl_trace_loaded_objects    0
 #include "../ldso/dl-elf.c"
-#endif /* __LIBDL_SHARED__ */
+#endif /* SHARED */
 
 #ifdef __SUPPORT_LD_DEBUG__
 # define _dl_if_debug_print(fmt, args...) \
@@ -358,7 +358,7 @@
 		}
 	}
 
-#if defined (__LIBDL_SHARED__)
+#ifdef SHARED
 	/* Run the ctors and setup the dtors */
 	for (i = nlist; i; --i) {
 		tpnt = init_fini_list[i-1];




More information about the uClibc-cvs mailing list