1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/gnu
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
..
games Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
gnu2bmake Integrated GCC-2.6.1 -> GCC-2.6.2 changes. 1994-11-15 04:52:19 +00:00
include Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
lib Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
libexec Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
usr.bin Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
usr.sbin Fixed awk scripts for 'netgroup,' 'ethers.*' and 'bootparams' targets so that 1995-06-18 16:08:15 +00:00
COPYING Updated GNU utilities 1993-06-18 04:22:21 +00:00
COPYING.LIB Adding GPL docs, make structure. 1993-06-18 06:05:45 +00:00
Makefile Hurm... I could have sworn I added usr.sbin to the top level GNU 1995-02-07 19:10:39 +00:00
Makefile.inc Added gdb/gas/ld to GNU makefiles 1993-06-29 09:54:26 +00:00