diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-06 00:16:54 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-04-06 00:16:54 +0000 |
commit | 97b5dbcee340f2c57bc7189ecfe7c93337e29007 (patch) | |
tree | 221b9c2493747769edb7397bf5c666ea4a8962de /libexec/ld.so/library.c | |
parent | 6119f0701e2a8cb66ce05c15007eb7c8185c117b (diff) |
backout -- breaks at least amd64; spotted by marc
Diffstat (limited to 'libexec/ld.so/library.c')
-rw-r--r-- | libexec/ld.so/library.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/libexec/ld.so/library.c b/libexec/ld.so/library.c index d144978b9c9..87fd7144c56 100644 --- a/libexec/ld.so/library.c +++ b/libexec/ld.so/library.c @@ -1,4 +1,4 @@ -/* $OpenBSD: library.c,v 1.37 2005/04/05 19:29:09 drahn Exp $ */ +/* $OpenBSD: library.c,v 1.38 2005/04/06 00:16:53 deraadt Exp $ */ /* * Copyright (c) 2002 Dale Rahn @@ -55,16 +55,10 @@ _dl_load_list_free(struct load_list *load_list) } void -_dl_notify_unload_shlib(elf_object_t *object) +_dl_unload_shlib(elf_object_t *object) { if (--object->refcount == 0) { _dl_run_dtors(object); - } -} -void -_dl_unload_shlib(elf_object_t *object) -{ - if (object->refcount == 0) { _dl_load_list_free(object->load_list); _dl_munmap((void *)object->load_addr, object->load_size); _dl_remove_object(object); |