freebsd-src/sys
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
..
alpha First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
amd64 Partially fix `sysctl machdep.console_device'. The fix will be complete 1995-06-26 07:39:52 +00:00
compat/linux First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
compile Stop cvs up -P from removing empty compile directories. 1994-08-25 16:20:16 +00:00
conf Add an option to the psm driver to skip the parts of the probe which break 1995-06-22 10:56:56 +00:00
ddb Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
dev Reduce timeout frequency from `hz' to 0 if no ports are open or to 1 if 1995-06-25 04:51:01 +00:00
fs Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
gnu Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
i386 Partially fix `sysctl machdep.console_device'. The fix will be complete 1995-06-26 07:39:52 +00:00
isa Reduce timeout frequency from `hz' to 0 if no ports are open or to 1 if 1995-06-25 04:51:01 +00:00
isofs/cd9660 Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern The pessimistic rounding in hzto() was too pessimistic for realitimexpire(). 1995-06-26 07:48:50 +00:00
libkern Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
miscfs Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
modules First incarnation of our Linux emulator or rather compatibility code. 1995-06-25 17:32:43 +00:00
msdosfs Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
net Killed a couple lines of redundant code. 1995-06-21 10:13:23 +00:00
netccitt Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netinet From Bill Fenner: 1995-06-26 16:15:49 +00:00
netiso Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
netns Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
nfs The duplicate information returned in fa_type and fa_mode 1995-06-14 06:23:38 +00:00
nfsclient The duplicate information returned in fa_type and fa_mode 1995-06-14 06:23:38 +00:00
nfsserver The duplicate information returned in fa_type and fa_mode 1995-06-14 06:23:38 +00:00
pci Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
powerpc/include Don't define CLK_TCK here. 1995-02-03 21:49:18 +00:00
rpc Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
scsi Bestmatch check for cd-drive always faild due to additional space 1995-06-14 12:28:32 +00:00
sys Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
tools Added $Id$ 1994-08-02 07:55:43 +00:00
ufs Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
vm Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Makefile Added ${MACHINE}/boot to build bootblocks. 1994-08-25 13:54:28 +00:00