from deafult 64 bytes to 128 bytes
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4192
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2006-05-27 Borut Razem <borut.razem AT siol.net>
+
+ * support/regression/fwk/lib/testfwk.c: increase stack size
+ from deafult 64 bytes to 128 bytes
+
2006-05-28 Vangelis Rokas <vrokas AT users.sourceforge.net>
* src/pic16/gen.c (genFunction, genEndFunction): some
#include <testfwk.h>
#include <stdarg.h>
-#ifdef __ds390
+#ifdef SDCC_ds390
#include <tinibios.h> /* main() must see the ISR declarations */
#endif
-#if defined(SDCC_mcs51)
+#ifdef SDCC_pic16
+#pragma stack 0x200 128 /* set stack size to 128 bytes */
+#endif
+
+#ifdef SDCC_mcs51
/* until changed, isr's must have a prototype in the module containing main */
void T2_isr (void) interrupt 5;
#endif
_putchar('0');
}
else {
- char buf[6];
+ static char buf[6];
char *p = &buf[sizeof(buf) - 1];
char neg = 0;