From: short <> Date: Sat, 9 Mar 2002 23:25:41 +0000 (+0000) Subject: stackcheck: Fixed caller function detection X-Git-Tag: uc_works1~12 X-Git-Url: https://git.jankratochvil.net/?p=gnokii.git;a=commitdiff_plain;h=8322d8746fbcd125d400a06378cdd44babcba2dc stackcheck: Fixed caller function detection --- 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;