remove initialization of mainprog_obj from here; it is too late for .ini
sections that want to use dlopen(3).
This commit is contained in:
parent
e21a3d997c
commit
3d65200a80
@ -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 @@ _rtld_setup(cleanup, obj)
|
||||
if (obj->version != RTLD_VERSION)
|
||||
_FATAL("Dynamic linker version mismatch");
|
||||
|
||||
__mainprog_obj = obj;
|
||||
atexit(cleanup);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user