From: rahnds Date: Tue, 7 May 1996 03:06:15 +0000 (+0000) Subject: (maybe it will take this time) X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d5c592d6f94eaa6966be64fcd6b3f12fbf1bcc95;p=openbsd (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. --- 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 #include @@ -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() {