a (void *) can be assigned to any pointer
[fw/sdcc] / src / izt / tlcs900h.c
index 3be389c1d29e85608076a1859f6916ac6e8641e6..2f5a9d226002f22a42821a4070ce32e14f32a2f2 100644 (file)
@@ -135,6 +135,7 @@ PORT tlcs900h_port =
   TARGET_ID_TLCS900H,
   "tlcs900h",
   "Toshiba TLCS-900H",         /* Target name */
+  NULL,
   {
     TRUE,                      /* Emit glue around main */
     MODEL_SMALL,
@@ -146,7 +147,8 @@ PORT tlcs900h_port =
     NULL,
     NULL,
     0,
-    NULL
+    NULL,
+    NULL                       /* no do_assemble function */
   },
   {
     _linkCmd,
@@ -174,6 +176,8 @@ PORT tlcs900h_port =
     "OSEG    (OVR,DATA)",
     "GSFINAL (CODE)",
     "HOME       (CODE)",
+    NULL, // xidata
+    NULL, // xinit
     NULL,
     NULL,
     1
@@ -194,7 +198,9 @@ PORT tlcs900h_port =
   _tlcs900h_getRegName,
   _tlcs900h_keywords,
   _tlcs900h_genAssemblerPreamble,
+  NULL,                                /* no genAssemblerEnd */
   _tlcs900h_genIVT,
+  0, // _tlcs900h_genXINIT
   _tlcs900h_reset_regparm,
   _tlcs900h_regparm,
   NULL,
@@ -210,5 +216,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
 };