Declare the return address for __divX, __remX so that gdb can step over
calls properly.
This commit is contained in:
parent
908c05c11b
commit
6dc6b2c4f2
@ -56,7 +56,7 @@ ifelse(S, `true', `define(NEG, `t4')')
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
LEAF(NAME, 0) /* XXX */
|
||||
NESTED(NAME, 0, 0, t9, 0, 0) /* Get the right ra */
|
||||
lda sp, -64(sp)
|
||||
stq BIT, 0(sp)
|
||||
stq I, 8(sp)
|
||||
|
@ -56,7 +56,7 @@ ifelse(S, `true', `define(NEG, `t4')')
|
||||
|
||||
#include <machine/asm.h>
|
||||
|
||||
LEAF(NAME, 0) /* XXX */
|
||||
NESTED(NAME, 0, 0, t9, 0, 0) /* Get the right ra */
|
||||
lda sp, -64(sp)
|
||||
stq BIT, 0(sp)
|
||||
stq I, 8(sp)
|
||||
|
Loading…
Reference in New Issue
Block a user