Added options --stack-size and --pack-iram
[fw/sdcc] / as / mcs51 / asdata.c
index e49a257b00b33edeef9f2f0c721e24b901b347ff..166575209bfe2b97104b008c2d826a673f961f98 100644 (file)
@@ -17,9 +17,6 @@
 #include <stdio.h>
 #include <setjmp.h>
 #include <string.h>
-#if !defined(_MSC_VER)
-#include <alloc.h>
-#endif
 #include "asm.h"
 
 /*)Module      asdata.c
@@ -54,13 +51,13 @@ int iflvl[MAXIF+1]; /*      array of IF-ELSE-ENDIF flevel
                         *      values indexed by tlevel
                         */
 
-char   afn[FILSPC];            /*      afile temporary file name
+char   afn[PATH_MAX];          /*      afile temporary file name
                                 */
-char   srcfn[MAXFIL][FILSPC];  /*      array of source file names
+char   srcfn[MAXFIL][PATH_MAX];        /*      array of source file names
                                 */
 int    srcline[MAXFIL];        /*      source line number
                                 */
-char   incfn[MAXINC][FILSPC];  /*      array of include file names
+char   incfn[MAXINC][PATH_MAX];        /*      array of include file names
                                 */
 int    incline[MAXINC];        /*      include line number
                                 */
@@ -132,6 +129,8 @@ char        tb[NTITL];      /*      Title string buffer
                         */
 char   stb[NSBTL];     /*      Subtitle string buffer
                         */
+char   optsdcc[NINPUT];        /*      sdcc compile options 
+                        */
 int    flat24Mode;     /*      non-zero if we are using DS390 24 bit 
                         *      flat mode (via .flat24 directive). 
                         */
@@ -247,7 +246,7 @@ FILE        *ifp[MAXINC];   /*      array of include-file file handles
  *     array of character types, one per
  *     ASCII character
  */
-char   ctype[128] = {
+unsigned char  ctype[128] = {
 /*NUL*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,
 /*BS*/ ILL,    SPACE,  ILL,    ILL,    SPACE,  ILL,    ILL,    ILL,
 /*DLE*/        ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,    ILL,