removed inclusion of sdccconf.h or sdcc_vc.h
[fw/sdcc] / src / avr / main.c
index b097d09362c23d12ee03bced59b047373fa53190..9ce3cd8ab26424614859d38fd92aebb0b25a2c51 100644 (file)
@@ -151,6 +151,7 @@ PORT avr_port = {
         TARGET_ID_AVR,
        "avr",
        "ATMEL AVR",            /* Target name */
+       NULL,                   /* processor */
        {
         TRUE,                  /* Emit glue around main */
         MODEL_LARGE | MODEL_SMALL,
@@ -161,7 +162,9 @@ PORT avr_port = {
         "-plosgff",            /* Options with debug */
         "-plosgff",            /* Options without debug */
         0,
-       ".s"},
+       ".s",
+        NULL,                  /* no do_assemble */
+       },
        {
         _linkCmd,
          NULL,
@@ -185,6 +188,8 @@ PORT avr_port = {
         "OSEG",
         "GSFINAL",
         "HOME",
+        NULL, // initialized xdata
+        NULL, // a code copy of xiseg
         NULL,
         NULL,
         0,
@@ -198,13 +203,16 @@ PORT avr_port = {
        "_",
        _avr_init,
        _avr_parseOptions,
+       NULL,
        _avr_finaliseOptions,
        _avr_setDefaultOptions,
        avr_assignRegisters,
        _avr_getRegName,
        _avr_keywords,
        _avr_genAssemblerPreamble,
+       NULL,                           /* no genAssemblerEnd */
        _avr_genIVT,
+       NULL, // _avr_genXINIT
        _avr_reset_regparm,
        _avr_regparm,
         NULL,
@@ -217,6 +225,11 @@ PORT avr_port = {
        0,                      /* leave ge */
        0,                      /* leave !=  */
        0,                      /* leave == */
-       FALSE,                        /* No array initializer support. */
+       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
 };