diff options
author | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1996-05-07 03:06:16 +0000 |
---|---|---|
committer | Dale S. Rahn <rahnds@cvs.openbsd.org> | 1996-05-07 03:06:16 +0000 |
commit | 4801b15fc2e1282a78e4c411cd5d76ca09b9889c (patch) | |
tree | ce1e8f8969c2252ceef5f9fdd8ca51bd43924276 /sys/arch | |
parent | 460fe6bd151e4f938fcd5782fec1a2cbfb50f4d3 (diff) |
(maybe it will take this time)
Change the address of the stack from 3ffff8 to 3efff8. A problem
existed that the bss and the stack were colliding and the bzero of
the bss segement would clear the existing stack. The actuall placement
of the stack is just before the beginning of the executable _start-0x10;
Be careful if the executable address is ever changed.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/mvme68k/stand/bugcrt/m68k/bugcrt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/mvme68k/stand/bugcrt/m68k/bugcrt.c b/sys/arch/mvme68k/stand/bugcrt/m68k/bugcrt.c index 37641e2e7e1..1dabcba3bd8 100644 --- a/sys/arch/mvme68k/stand/bugcrt/m68k/bugcrt.c +++ b/sys/arch/mvme68k/stand/bugcrt/m68k/bugcrt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bugcrt.c,v 1.3 1996/04/28 10:48:29 deraadt Exp $ */ +/* $OpenBSD: bugcrt.c,v 1.4 1996/05/07 03:06:15 rahnds Exp $ */ #include <sys/types.h> #include <machine/prom.h> @@ -6,7 +6,7 @@ struct mvmeprom_args bugargs = { 1 }; /* not in BSS */ asm (".text"); - asm (".long 0x003ffff8"); + asm (".long _start-0x10"); asm (".long _start"); start() { |