freebsd-dev/libexec/rtld-aout
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
dynamic.h Changes to support the kernel linker: 1997-05-13 10:23:47 +00:00
Makefile Get rid of the dynamic linker's internal malloc package, and arrange 1997-11-29 03:32:48 +00:00
md-prologue.c Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
rtld.1 spelling corrections. 1997-09-13 16:01:53 +00:00
rtld.1aout spelling corrections. 1997-09-13 16:01:53 +00:00
rtld.c Get rid of the dynamic linker's internal malloc package, and arrange 1997-11-29 03:32:48 +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