* support/regression/fwk/lib/testfwk.c: define array in _printn() as
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 27 May 2006 18:52:41 +0000 (18:52 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sat, 27 May 2006 18:52:41 +0000 (18:52 +0000)
  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

ChangeLog
support/regression/fwk/lib/testfwk.c
support/regression/ports/pic16/support.c

index 4b238a25e94851e03679aca6d77550a3c5bc9761..0c5d8b598dd693d520bed2bd0f3c9d4dbeac8179 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,7 +1,9 @@
 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
+       * 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
index ae33289a2220262ef4f89d8518a995deeacc4ff5..092d16535155cc5fe61f8dfcf58060300e35ea1b 100644 (file)
@@ -7,10 +7,6 @@
 #include <tinibios.h> /* 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;
index 281ebb17a0b9287aff04009d3180f752331ba37d..500cb2c2fd09e90f60d7fa38fdabd4f1c6e5102a 100644 (file)
@@ -23,6 +23,8 @@
 -------------------------------------------------------------------------*/
 
 #pragma preproc_asm -
+#pragma stack 0x200 128 /* set stack size to 128 bytes */
+
 #include <pic18f452.h>