Switch back to adjusting stack by addi instead of ldptr until I can locate
who's setting up the stack wrong.
This commit is contained in:
parent
6333112bb9
commit
56f115e896
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: locore_subr.S,v 1.18 2003/08/12 18:34:51 matt Exp $ */
|
||||
/* $NetBSD: locore_subr.S,v 1.19 2003/08/27 19:45:28 matt Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2001 Wasabi Systems, Inc.
|
||||
|
@ -443,7 +443,11 @@ switch_return:
|
|||
*/
|
||||
ldreg %r31,CFRAME_R31(%r1) /* restore saved registers */
|
||||
ldreg %r30,CFRAME_R30(%r1)
|
||||
#if 1
|
||||
addi %r1,%r1,CALLFRAMELEN
|
||||
#else
|
||||
ldreg %r1,CFRAME_SP(%r1) /* pop stack frmae */
|
||||
#endif
|
||||
ldreg %r0,CFRAME_LR(%r1)
|
||||
mtlr %r0
|
||||
blr
|
||||
|
|
Loading…
Reference in New Issue