Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/csu/common_elf remove initialization of mainprog_obj fro...



details:   https://anonhg.NetBSD.org/src/rev/643744bdaf28
branches:  trunk
changeset: 488019:643744bdaf28
user:      christos <christos%NetBSD.org@localhost>
date:      Fri Jun 16 20:52:49 2000 +0000

description:
remove initialization of mainprog_obj from here; it is too late for .ini
sections that want to use dlopen(3).

diffstat:

 lib/csu/common_elf/common.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 23782dbfd644 -r 643744bdaf28 lib/csu/common_elf/common.c
--- a/lib/csu/common_elf/common.c       Fri Jun 16 20:21:26 2000 +0000
+++ b/lib/csu/common_elf/common.c       Fri Jun 16 20:52:49 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: common.c,v 1.9 2000/06/14 17:24:55 cgd Exp $ */
+/* $NetBSD: common.c,v 1.10 2000/06/16 20:52:49 christos Exp $ */
 
 /*
  * Copyright (c) 1995 Christopher G. Demetriou
@@ -71,7 +71,6 @@
        if (obj->version != RTLD_VERSION)
                _FATAL("Dynamic linker version mismatch");
 
-       __mainprog_obj = obj;
        atexit(cleanup);
 }
 



Home | Main Index | Thread Index | Old Index