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