From 8322d8746fbcd125d400a06378cdd44babcba2dc Mon Sep 17 00:00:00 2001 From: short <> Date: Sat, 9 Mar 2002 23:25:41 +0000 Subject: [PATCH] stackcheck: Fixed caller function detection --- gnokii/cleanup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnokii/cleanup.c b/gnokii/cleanup.c index e93075d..82b1c48 100644 --- a/gnokii/cleanup.c +++ b/gnokii/cleanup.c @@ -61,7 +61,7 @@ volatile void *func; volatile int fp_alloc; asm("movel %%d0,%0" : "=r" (fp_alloc) : /* input */ : "d0"); - asm("movel %%sp@,%0" : "=r" (func) : /* input */); + asm("movel %%fp@(4),%0" : "=r" (func) : /* input */); if (inside) return; -- 1.8.3.1