* as/mcs51/asexpr.c (expr): disabled warning "not in .flat24 mode",
[fw/sdcc] / src / avr / main.c
index e09ba53a0c23f5d2c7a7a88a5f9b5166d820ff05..aa9a9d3e9440dc47f12905de3b50772a9d480e11 100644 (file)
@@ -42,7 +42,7 @@ _avr_init (void)
 }
 
 static void
-_avr_reset_regparm ()
+_avr_reset_regparm (void)
 {
        regParmFlg = 0;
 }
@@ -69,7 +69,7 @@ _avr_regparm (sym_link * l)
        return 0;
 }
 
-void avr_assignRegisters (eBBlock ** ebbs, int count);
+void avr_assignRegisters (ebbIndex *);
 
 static bool
 _avr_parseOptions (int *pargc, char **argv, int *i)
@@ -207,6 +207,7 @@ PORT avr_port = {
         "CSEG",
         "DSEG",
         "ISEG",
+        NULL, //PSEG
         "XSEG",
         "BSEG",
         "RSEG",
@@ -216,6 +217,7 @@ PORT avr_port = {
         "HOME",
         NULL, // initialized xdata
         NULL, // a code copy of xiseg
+        "CONST   (CODE)",              // const_name - const data (code or not)
         NULL,
         NULL,
         0,