updated to reflect changes in the port structure
[fw/sdcc] / src / avr / main.c
index 98097a1e6709a632ddb535e78992baa1d3fa0178..d073f5072e926bf7bf1972de27e725254720fea7 100644 (file)
@@ -161,7 +161,9 @@ PORT avr_port = {
         "-plosgff",            /* Options with debug */
         "-plosgff",            /* Options without debug */
         0,
-       ".s"},
+       ".s",
+        NULL,                  /* no do_assemble */
+       },
        {
         _linkCmd,
          NULL,
@@ -185,6 +187,8 @@ PORT avr_port = {
         "OSEG",
         "GSFINAL",
         "HOME",
+        NULL, // initialized xdata
+        NULL, // a code copy of xiseg
         NULL,
         NULL,
         0,
@@ -204,7 +208,9 @@ PORT avr_port = {
        _avr_getRegName,
        _avr_keywords,
        _avr_genAssemblerPreamble,
+       NULL,                           /* no genAssemblerEnd */
        _avr_genIVT,
+       NULL, // _avr_genXINIT
        _avr_reset_regparm,
        _avr_regparm,
         NULL,
@@ -219,5 +225,9 @@ PORT avr_port = {
        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
 };