summaryrefslogtreecommitdiff
path: root/ldso/libdl/libdl.c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-14 18:32:18 +0100
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2018-04-17 18:15:58 +0100
commit0c8cc6e7ebfcdbcce8b06d284a74addbc7ba1c99 (patch)
tree59903a017f0e82ecafdcb026341bb62579dbb780 /ldso/libdl/libdl.c
parent07dfe7c86bd61382098b2ef74afe49ab6ac598c3 (diff)
libdl: remove LDSO_NO_CLEANUP
Diffstat (limited to 'ldso/libdl/libdl.c')
-rw-r--r--ldso/libdl/libdl.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/ldso/libdl/libdl.c b/ldso/libdl/libdl.c
index d102a48ab..5c52f0687 100644
--- a/ldso/libdl/libdl.c
+++ b/ldso/libdl/libdl.c
@@ -270,19 +270,6 @@ remove_slotinfo(size_t idx, struct dtv_slotinfo_list *listp, size_t disp,
}
#endif
-#ifndef __LDSO_NO_CLEANUP__
-void dl_cleanup(void) attribute_hidden __attribute__ ((destructor));
-void dl_cleanup(void)
-{
- struct dyn_elf *h, *n;
-
- for (h = _dl_handles; h; h = n) {
- n = h->next_handle;
- do_dlclose(h, 1);
- }
-}
-#endif
-
static ptrdiff_t _dl_build_local_scope (struct elf_resolve **list,
struct elf_resolve *map)
{