New Memory Allocation functions
[fw/sdcc] / src / ds390 / main.c
index 8920d737ecc5c49344c6dc541c839699635e3e31..e6974bf7a3a67138a32f11c12087bc54291a3138 100644 (file)
@@ -56,7 +56,7 @@ static void _ds390_reset_regparm()
     regParmFlg = 0;
 }
 
-static int _ds390_regparm( link *l)
+static int _ds390_regparm( sym_link *l)
 {
     /* for this processor it is simple
        can pass only the first parameter in a register */
@@ -190,7 +190,7 @@ static const char *_linkCmd[] = {
 };
 
 static const char *_asmCmd[] = {
-    "asx8051", "-plosgffc", "$1.asm", NULL
+    "asx8051", "-plosgff", "$1.asm", NULL
 };
 
 /* Globals */
@@ -242,7 +242,7 @@ PORT ds390_port = {
     },
     /* ds390 has an 8 bit mul */
     {
-       1
+       1, 0
     },
     "_",
     _ds390_init,
@@ -257,6 +257,13 @@ PORT ds390_port = {
     _ds390_reset_regparm,
     _ds390_regparm,
     NULL,
-    FALSE
+    FALSE,
+    0,  /* leave lt */
+    0,  /* leave gt */
+    1,  /* transform <= to ! > */
+    1,  /* transform >= to ! < */
+    1,  /* transform != to !(a == b) */
+    0,  /* leave == */
+    PORT_MAGIC
 };