summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index 8199a7598..837ce0dc9 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -144,14 +144,6 @@ void *dlopen(const char *libname, int flag)
from = (ElfW(Addr)) __builtin_return_address(0);
- /* Have the dynamic linker use the regular malloc function now */
- if (!dl_init) {
- dl_init++;
-#if defined (__LIBDL_SHARED__)
- _dl_malloc_function = malloc;
-#endif
- }
-
/* Cover the trivial case first */
if (!libname)
return _dl_symbol_tables;