freebsd-nq/gnu/usr.bin/ld
John Polstra 08bdd3d27d Get rid of the dynamic linker's internal malloc package, and arrange
things so that it uses the same malloc as is used by the program
being executed.  This has several advantages, the big one being
that you can now debug core dumps from dynamically linked programs
and get useful information out of them.  Until now, that didn't
work.  The internal malloc package placed the tables describing
the loaded shared libraries in a mapped region of high memory that
was not written to core files.  Thus the debugger had no way of
determining what was loaded where in memory.  Now that the dynamic
linker uses the application's malloc package (normally, but not
necessarily, the system malloc), its tables end up in the regular
heap area where they will be included in core dumps.  The debugger
now works very well indeed, thank you very much.

Also ...

Bring the program a little closer to conformance with style(9).
There is still a long way to go.

Add minimal const correctness changes to get rid of compiler warnings
caused by the recent const changes in <dlfcn.h> and <link.h>.

Improve performance by eliminating redundant calculations of symbols'
hash values.
1997-11-29 03:32:48 +00:00
..
i386 Fix a bug that caused the relocs for linker set members in shared 1997-04-30 05:18:08 +00:00
ldconfig Add -R (rescan or refresh) option to rescan and rebuild the hints 1997-08-22 04:42:12 +00:00
ldd In the "ldd -v" output, display the N_AUX information for each 1997-11-28 19:34:27 +00:00
rtld Get rid of the dynamic linker's internal malloc package, and arrange 1997-11-29 03:32:48 +00:00
sparc Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
dynamic.h Changes to support the kernel linker: 1997-05-13 10:23:47 +00:00
ld.1 .Ar -l -> .Fl l 1997-08-23 21:59:41 +00:00
ld.1aout .Ar -l -> .Fl l 1997-08-23 21:59:41 +00:00
ld.c Changes to support the kernel linker: 1997-05-13 10:23:47 +00:00
ld.h Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
lib.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Makefile Configure static linkage in the normal way (default to -static using 1997-06-29 21:36:33 +00:00
PORTING Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
rrs.c Changes to support the kernel linker: 1997-05-13 10:23:47 +00:00
shlib.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
shlib.h Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
support.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
support.h Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
symbol.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
symseg.h Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
warnings.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
xbits.c Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00