m68k stack checking implemented, not tested yet on uClinux
[gnokii.git] / gnokii / mcount.c
diff --git a/gnokii/mcount.c b/gnokii/mcount.c
deleted file mode 100644 (file)
index cf40629..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-#ifdef GNOKII_MAIN
-#include "config.h"
-#endif
-
-#ifdef STACKCHECK
-
-#include <stdio.h>
-
-void mcount(void)
-{
-#ifdef __m68k__X
-static void *arg;
-
-#if 0
-       asm("movel %%a0,%0" : "=r" (arg) : /* input */ : "a0");
-#endif
-       asm("movel %%fp@(+4),%0" : "=r" (arg) : /* input */);
-
-       printf("mcount(0x%08lX)\n",(long)arg);
-#endif /* __m68k__ */
-#ifdef LIVEX
-       LIVE;
-#endif /* LIVE */
-}
-
-#endif /* STACKCHECK */