freebsd-skq/libexec/rtld-aout
jdp 6301239883 Make emacs work again. This is a workaround for the fact that the
emacs a.out file, self-generated by emacs's "unexec" function in
"unexsunos4.c", is invalid.  In particular, its "_end" symbol has
the wrong value.  The dynamic linker was using the value of that
symbol to initialize its sbrk break level.

The workaround is to peek at the executable's a.out header in
memory, and calculate what "_end" should be based on the segment
sizes.

I will work out a fix for emacs and send it to the FSF.  This
dynamic linker workaround is still worthwhile, if only to avoid
forcing all emacs users to build a new version.

Note: xemacs gives a bogus warning at startup, for related reasons.
The warning is harmless and can safely be ignored.  I will send a
patch to the xemacs maintainers to get rid of it, and meanwhile
add a patch file to our port.
1997-12-05 02:06:37 +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 Make emacs work again. This is a workaround for the fact that the 1997-12-05 02:06:37 +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