updated to reflect the changes in port structure
authorsandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 18 Dec 2001 04:32:27 +0000 (04:32 +0000)
committersandeep <sandeep@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Tue, 18 Dec 2001 04:32:27 +0000 (04:32 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1705 4a8a32a2-be11-0410-ad9d-d568d2c75423

src/avr/main.c
src/izt/i186.c
src/izt/tlcs900h.c
src/mcs51/main.c
src/pic/main.c
src/z80/main.c

index 010957530b5e4008bdd015a0ae5e0218abb5375a..93a1342b7658895989afb3b8fff412d8a7631d3a 100644 (file)
@@ -223,5 +223,8 @@ PORT avr_port = {
        FALSE,                  /* No array initializer support. */
        0,                      /* no CSE cost estimation yet */
        NULL,                   /* no builtin functions */
+       GPOINTER,               /* treat unqualified pointers as "generic" pointers */
+       1,                      /* reset labelKey to 1 */
+       1,                      /* globals & local static allowed */
        PORT_MAGIC
 };
index 8ee41fb2597ab5f925b8829c8d760f21fabd7e91..34cb44c03bd96afb86476d97d5f65b3469865c68 100644 (file)
@@ -214,5 +214,8 @@ PORT i186_port = {
     FALSE,                        /* No array initializer support. */
     0,                            /* no CSE cost estimation yet */
     NULL,                      /* no builtin functions */
+    GPOINTER,                  /* treat unqualified pointers as "generic" pointers */
+    1,                         /* reset labelKey to 1 */
+    1,                         /* globals & local static allowed */
     PORT_MAGIC
 };
index 02b37b38b9b020ea415ec034a54653f08369a6c9..9122bff41dc2e496df2387100dc947bd9969bad9 100644 (file)
@@ -213,5 +213,8 @@ PORT tlcs900h_port =
   FALSE,                        /* No array initializer support. */    
   0,                            /* no CSE cost estimation yet */
   NULL,                        /* no builtin functions */
+  GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
+  1,                           /* reset labelKey to 1 */
+  1,                           /* globals & local static allowed */
   PORT_MAGIC
 };
index 29373d19a741c5785e8f400c2aa7ee6012d99824..5aaa53ece3efacae6e6feae813d409d9c9882f56 100644 (file)
@@ -40,6 +40,7 @@ static char *_mcs51_keywords[] =
   "_pdata",
   "_idata",
   "_naked",
+  "_overlay",
   NULL
 };
 
@@ -275,5 +276,8 @@ PORT mcs51_port =
   FALSE,                        /* No array initializer support. */
   cseCostEstimation,
   NULL,                        /* no builtin functions */
+  GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
+  1,                           /* reset labelKey to 1 */
+  1,                           /* globals & local static allowed */
   PORT_MAGIC
 };
index d88ae7e2f77ff209f9cd037bad85552790cda3f3..01b92363450ea137626cbae3b0a7c3c246a84160 100644 (file)
@@ -304,5 +304,8 @@ PORT pic_port =
   FALSE,                        /* No array initializer support. */
   0,                            /* no CSE cost estimation yet */
   NULL,                        /* no builtin functions */
+  GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
+  1,                           /* reset labelKey to 1 */
+  1,                           /* globals & local static allowed */
   PORT_MAGIC
 };
index 9c9618795a84a35d73f63b57946f2a42074ab248..2c172e5c585fdf375c0f8f2da488166fb827946c 100644 (file)
@@ -525,6 +525,9 @@ PORT z80_port =
   TRUE,                         /* Array initializer support. */       
   0,                            /* no CSE cost estimation yet */
   _z80_builtins,               /* no builtin functions */
+  GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
+  1,                           /* reset labelKey to 1 */
+  1,                           /* globals & local static allowed */
   PORT_MAGIC
 };
 
@@ -611,6 +614,9 @@ PORT gbz80_port =
   0,                           /* leave == */
   TRUE,                         /* Array initializer support. */
   0,                            /* no CSE cost estimation yet */
-  NULL,                                /* no builtin functions */
+  NULL,                        /* no builtin functions */
+  GPOINTER,                    /* treat unqualified pointers as "generic" pointers */
+  1,                           /* reset labelKey to 1 */
+  1,                           /* globals & local static allowed */
   PORT_MAGIC
 };