summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/libdl/dlib.c1
-rw-r--r--ldso/libdl/libdl.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/ldso/libdl/dlib.c b/ldso/libdl/dlib.c
index fbb19223a..6008f8c84 100644
--- a/ldso/libdl/dlib.c
+++ b/ldso/libdl/dlib.c
@@ -149,6 +149,7 @@ void *_dlopen(const char *libname, int flag)
#endif
return NULL;
}
+ tpnt->libtype = loaded_file;
dyn_chain = rpnt = (struct dyn_elf *) malloc(sizeof(struct dyn_elf));
_dl_memset(rpnt, 0, sizeof(*rpnt));
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index fbb19223a..6008f8c84 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -149,6 +149,7 @@ void *_dlopen(const char *libname, int flag)
#endif
return NULL;
}
+ tpnt->libtype = loaded_file;
dyn_chain = rpnt = (struct dyn_elf *) malloc(sizeof(struct dyn_elf));
_dl_memset(rpnt, 0, sizeof(*rpnt));