]> git.gag.com Git - fw/sdcc/blobdiff - src/xa51/main.c
xa51 update
[fw/sdcc] / src / xa51 / main.c
index 9021f599ab0ddaaaf1bd57a99f5d7860c30e2eb1..ae66dd3c59d1a6a3c38dbb7e4439537757e73930 100755 (executable)
@@ -31,7 +31,7 @@ static char *_xa51_keywords[] =
   "sfr",
   "sbit",
   "using",
-  //"xdata",
+  "xdata",
   //"_data",
   //"_code",
   //"_generic",
@@ -94,6 +94,8 @@ static void
 _xa51_setDefaultOptions (void)
 {
   options.stackAuto=1;
+  options.intlong_rent=1;
+  options.float_rent=1;
 }
 
 static const char *
@@ -218,7 +220,7 @@ PORT xa51_port =
   },
   {
        /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
-    1, 2, 2, 4, 1, 2, 3, 1, 4, 4
+    1, 2, 2, 4, 2, 2, 3, 1, 4, 4
   },
   {
     "XSEG    (XDATA)",