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.
-/* $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>
struct mvmeprom_args bugargs = { 1 }; /* not in BSS */
asm (".text");
- asm (".long 0x003ffff8");
+ asm (".long _start-0x10");
asm (".long _start");
start()
{