freebsd-skq/gnu/usr.bin/ld
John Polstra 0db65949ae Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".

The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string.  This agrees
with the standard SVR4 conventions for the dynamic linker.

Add a work-around for programs compiled with certain buggy versions of
crt0.o.  The buggy versions failed to set the "crt_ldso" member of the
interface structure.  This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.
1997-01-12 00:16:36 +00:00
..
i386 Add support for the LD_BIND_NOW environment variable. If it is set to a 1997-01-12 00:09:11 +00:00
ldconfig Document that "ldconfig -m" rescans all directories previously 1996-11-09 20:26:19 +00:00
ldd Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker 1997-01-12 00:10:57 +00:00
rtld Add support for the LD_BIND_NOW environment variable. If it is set to a 1997-01-12 00:16:36 +00:00
sparc Update the backends to go with the top-level ld changes. The non-i386 1996-10-01 01:28:10 +00:00
dynamic.h Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
ld.1 Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
ld.1aout Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
ld.c Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
ld.h Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
lib.c Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
Makefile Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
PORTING Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
rrs.c Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
shlib.c Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
shlib.h Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
support.c Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
support.h Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
symbol.c Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00
symseg.h Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
warnings.c Changes to make ld demangle C++ symbol names before printing 1997-01-11 05:51:03 +00:00
xbits.c Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal 1996-10-01 01:22:51 +00:00