1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/lib/csu/i386
Doug Rabson 82aaeb09ad Change ld.so to correctly load dependant libraries for dlopen and unload them
on dlclose.  Also correctly call constructors and destructors for libraries
linked with /usr/lib/c++rt0.o.
Change interpretation of dlopen manpage to call _init() rather than init()
for dlopened objects.
Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to
call destructors when an object is unloaded.
Change interface between crt0 and ld.so to allow crt0 to call a function on
exit to call destructors for shared libraries explicitly.

These changes are backwards compatible.  Old binaries will work with the new
ld.so and new binaries will work with the old ld.so.  A version number has
been introduced in the crt0-ld.so interface to allow for future changes.

Reviewed by:	GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>
1995-06-27 09:53:27 +00:00
..
c++rt0.c Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
crt0.c Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
dlfcn.h Add two parts of Mark's/Gary's dlopen() changes that I missed before. 1995-02-08 17:56:27 +00:00
dlopen.3 Add two parts of Mark's/Gary's dlopen() changes that I missed before. 1995-02-08 17:56:27 +00:00
gmon.c Added shared libs support from NetBSD. 1993-11-04 01:09:18 +00:00
gmon.h Added shared libs support from NetBSD. 1993-11-04 01:09:18 +00:00
gprof.ex Initial import, 0.1 + pk 0.2.4-B1 1993-06-12 14:58:17 +00:00
Makefile Install the dlopen.3 manpage. 1995-03-30 06:40:31 +00:00