From d4af94988c2dc206f2632326533eac916a5e069a Mon Sep 17 00:00:00 2001 From: Doug Rabson Date: Sun, 2 May 1999 12:05:09 +0000 Subject: [PATCH] Declare the return address for __divX, __remX so that gdb can step over calls properly. --- lib/libc/alpha/gen/divrem.m4 | 2 +- sys/alpha/alpha/divrem.m4 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/libc/alpha/gen/divrem.m4 b/lib/libc/alpha/gen/divrem.m4 index 5d6ec9ce5f42..9fab00a21e39 100644 --- a/lib/libc/alpha/gen/divrem.m4 +++ b/lib/libc/alpha/gen/divrem.m4 @@ -56,7 +56,7 @@ ifelse(S, `true', `define(NEG, `t4')') #include -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) diff --git a/sys/alpha/alpha/divrem.m4 b/sys/alpha/alpha/divrem.m4 index c24689f3d2b2..866f71073cc1 100644 --- a/sys/alpha/alpha/divrem.m4 +++ b/sys/alpha/alpha/divrem.m4 @@ -56,7 +56,7 @@ ifelse(S, `true', `define(NEG, `t4')') #include -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)