Module Name: src
Committed By: christos
Date: Thu Dec 27 18:57:43 UTC 2018
Modified Files:
src/libexec/ld.elf_so: rtld.c
Log Message:
explain why we skip objmain.
To generate a diff of this commit:
cvs rdiff -u -r1.193 -r1.194 src/libexec/ld.elf_so/rtld.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/libexec/ld.elf_so/rtld.c
diff -u src/libexec/ld.elf_so/rtld.c:1.193 src/libexec/ld.elf_so/rtld.c:1.194
--- src/libexec/ld.elf_so/rtld.c:1.193 Wed Oct 17 19:36:58 2018
+++ src/libexec/ld.elf_so/rtld.c Thu Dec 27 13:57:43 2018
@@ -1,4 +1,4 @@
-/* $NetBSD: rtld.c,v 1.193 2018/10/17 23:36:58 joerg Exp $ */
+/* $NetBSD: rtld.c,v 1.194 2018/12/27 18:57:43 christos Exp $ */
/*
* Copyright 1996 John D. Polstra.
@@ -40,7 +40,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: rtld.c,v 1.193 2018/10/17 23:36:58 joerg Exp $");
+__RCSID("$NetBSD: rtld.c,v 1.194 2018/12/27 18:57:43 christos Exp $");
#endif /* not lint */
#include <sys/param.h>
@@ -847,6 +847,10 @@ _rtld_initlist_tsort(Objlist* list, int
Obj_Entry* obj;
+ /*
+ * We don't include objmain here (starting from next)
+ * because csu handles it
+ */
for (obj = _rtld_objlist->next; obj; obj = obj->next) {
obj->init_done = 0;
}