summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/libdl/dlib.c2
-rw-r--r--ldso/libdl/libdl.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index 15749ce21..579263be7 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -72,6 +72,8 @@ static char *_dl_debug_detail = 0;
static char *_dl_debug_nofixups = 0;
static char *_dl_debug_bindings = 0;
static int _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
#endif
char *_dl_library_path = 0;
char *_dl_ldsopath = 0;
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 15749ce21..579263be7 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -72,6 +72,8 @@ static char *_dl_debug_detail = 0;
static char *_dl_debug_nofixups = 0;
static char *_dl_debug_bindings = 0;
static int _dl_debug_file = 2;
+#elif defined __SUPPORT_LD_DEBUG_EARLY__
+#define _dl_debug_file 2
#endif
char *_dl_library_path = 0;
char *_dl_ldsopath = 0;