deallocates the item, if allready exsists, before adding the new one
[fw/sdcc] / src / izt / i186.c
index 7a4e39ddd4299993217430c07e8c8aa65b56ef23..60048a43888f726333c6b12edadca16e656d51a4 100644 (file)
@@ -136,6 +136,7 @@ PORT i186_port = {
     TARGET_ID_I186,
     "i186",
     "Intel 80186",      /* Target name */
+    NULL,
     {
         FALSE,          /* Emit glue around main */
         MODEL_SMALL,
@@ -145,12 +146,15 @@ PORT i186_port = {
         _asmCmd,
         NULL,
         NULL,
+        NULL,
         0,
-        ".s"
+        ".s",
+       NULL                    /* no do_assemble function */
     },
     {
         _linkCmd,
         NULL,
+        NULL,
         ".o"
     },
     {
@@ -173,6 +177,8 @@ PORT i186_port = {
         ".DATA",
         ".TEXT",
         ".TEXT",
+       NULL, // xidata
+       NULL, // xinit
         NULL,
         NULL,
         1
@@ -193,11 +199,14 @@ PORT i186_port = {
     _i186_getRegName ,
     _i186_keywords,
     _i186_genAssemblerPreamble,
+    NULL,                              /* no genAssemblerEnd */
     _i186_genIVT ,
+    NULL, // _i186_genXINIT
     _i186_reset_regparm,
     _i186_regparm,
     NULL,
     NULL,
+    NULL,
     FALSE,
     0,  /* leave lt */
     0,  /* leave gt */
@@ -206,5 +215,10 @@ PORT i186_port = {
     1,  /* transform != to !(a == b) */
     0,  /* leave == */
     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
 };