git://git.jankratochvil.net
/
gnokii.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
stackcheck: Fixed caller function detection
[gnokii.git]
/
gnokii
/
cleanup.c
diff --git
a/gnokii/cleanup.c
b/gnokii/cleanup.c
index
e93075d
..
82b1c48
100644
(file)
--- 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;