From: borutr Date: Sat, 27 May 2006 18:52:41 +0000 (+0000) Subject: * support/regression/fwk/lib/testfwk.c: define array in _printn() as X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=bcffce0130d38cca654e3867a632f089ce4cf69e;p=fw%2Fsdcc * support/regression/fwk/lib/testfwk.c: define array in _printn() as static instead auto * support/regression/ports/pic16/support.c: increase stack size from default 64 bytes to 128 bytes git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@4194 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- diff --git a/ChangeLog b/ChangeLog index 4b238a25..0c5d8b59 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,9 @@ 2006-05-27 Borut Razem - * support/regression/fwk/lib/testfwk.c: increase stack size - from deafult 64 bytes to 128 bytes + * support/regression/fwk/lib/testfwk.c: define array in _printn() as + static instead auto + * support/regression/ports/pic16/support.c: increase stack size + from default 64 bytes to 128 bytes * support/regression/tests/staticinit.c, support/regression/tests/float.c: regression tests fully enabled for pic16 port by putting the initialized data arrays into the code diff --git a/support/regression/fwk/lib/testfwk.c b/support/regression/fwk/lib/testfwk.c index ae33289a..092d1653 100644 --- a/support/regression/fwk/lib/testfwk.c +++ b/support/regression/fwk/lib/testfwk.c @@ -7,10 +7,6 @@ #include /* main() must see the ISR declarations */ #endif -#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; diff --git a/support/regression/ports/pic16/support.c b/support/regression/ports/pic16/support.c index 281ebb17..500cb2c2 100644 --- a/support/regression/ports/pic16/support.c +++ b/support/regression/ports/pic16/support.c @@ -23,6 +23,8 @@ -------------------------------------------------------------------------*/ #pragma preproc_asm - +#pragma stack 0x200 128 /* set stack size to 128 bytes */ + #include