summaryrefslogtreecommitdiff
path: root/libexec/ld.so/resolve.c
diff options
context:
space:
mode:
authorKurt Miller <kurt@cvs.openbsd.org>2005-10-12 20:36:17 +0000
committerKurt Miller <kurt@cvs.openbsd.org>2005-10-12 20:36:17 +0000
commitcccc2cd2cda6caa1134e0a28330a80676873779a (patch)
tree378cbc744b1142098b8491e61379b5647f9d9e58 /libexec/ld.so/resolve.c
parentd85e2244b5db594ad7228c8ecf69d3807d39e4a3 (diff)
Split grpsym_list creation away from child_list creation and change
grpsym_list order to match Sun's docs. Also corrects bugs where grpsym_list was either not created or partially created.
Diffstat (limited to 'libexec/ld.so/resolve.c')
-rw-r--r--libexec/ld.so/resolve.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c
index b76df7997fa..a9f06d14435 100644
--- a/libexec/ld.so/resolve.c
+++ b/libexec/ld.so/resolve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.c,v 1.42 2005/10/09 04:29:13 kurt Exp $ */
+/* $OpenBSD: resolve.c,v 1.43 2005/10/12 20:36:16 kurt Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -153,7 +153,7 @@ _dl_finalize_object(const char *objname, Elf_Dyn *dynp, const long *dl_data,
}
DL_DEB(("obj %s has %s as head\n", object->load_name,
_dl_loading_object->load_name ));
- /* refcount handled in _dl_link_sub & _dl_boot */
+ /* refcount handled in _dl_link_grpsym_list */
object->refcount = 0;
TAILQ_INIT(&object->child_list);
object->opencount = 0; /* # dlopen() & exe */