|
@@ -35,7 +35,7 @@
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
|
-#if defined (__LIBDL_SHARED__)
|
|
|
+#ifdef SHARED
|
|
|
|
|
|
|
|
|
* and use a pile of symbols from ldso... */
|
|
@@ -64,7 +64,7 @@ extern char *_dl_debug;
|
|
|
#endif
|
|
|
|
|
|
|
|
|
-#else
|
|
|
+#else
|
|
|
|
|
|
|
|
|
* the symbols that otherwise would have been loaded in from ldso... */
|
|
@@ -85,7 +85,7 @@ struct r_debug *_dl_debug_addr = NULL;
|
|
|
#include "../ldso/dl-hash.c"
|
|
|
#define _dl_trace_loaded_objects 0
|
|
|
#include "../ldso/dl-elf.c"
|
|
|
-#endif
|
|
|
+#endif
|
|
|
|
|
|
#ifdef __SUPPORT_LD_DEBUG__
|
|
|
# define _dl_if_debug_print(fmt, args...) \
|
|
@@ -358,7 +358,7 @@ void *dlopen(const char *libname, int flag)
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-#if defined (__LIBDL_SHARED__)
|
|
|
+#ifdef SHARED
|
|
|
|
|
|
for (i = nlist; i; --i) {
|
|
|
tpnt = init_fini_list[i-1];
|