opnsense-src/gnu/usr.bin/ld
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
..
i386 Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
ldconfig Add an "-m" flag to merge instead of replace the entries. We can 1995-06-24 10:08:44 +00:00
ldd Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
rtld Change ld.so to correctly load dependant libraries for dlopen and unload them 1995-06-27 09:53:27 +00:00
sparc Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
cplus-dem.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
etc.c Changes from Paul Kranenburg which bring us into sync with his sources: 1994-06-15 22:41:19 +00:00
ld.1 Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
ld.1aout Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
ld.c Make `ld' properly honoring the umask setting when chmod'ing the 1995-06-14 06:25:09 +00:00
ld.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
lib.c Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Makefile Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
PORTING New file from pk to aid new in developing the shlib code for new 1994-12-23 22:56:08 +00:00
rrs.c Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
shlib.c Removed /usr/local/lib from the standard library search path to be 1995-03-19 21:20:09 +00:00
symbol.c Updated to recent version of Paul K.'s shlib code. This code has better 1994-12-23 22:31:35 +00:00
symseg.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
TODO Added the TODO file. Also wanted to announce the previous change to rtld.c 1993-12-09 17:53:08 +00:00
warnings.c Weak symbol support from NetBSD. This should bring us in sync with the 1995-03-04 17:49:20 +00:00
xbits.c This is Paul K's latest set of ld changes. A commit was necessary at this 1994-02-13 20:43:13 +00:00