Applied patch #2762516
[fw/sdcc] / src / izt / i186.c
index dbb92322cc21f5c6a3616a08b7dc7b7544206f8c..da67d9efc095d2349ceeb14eaeeeecf7d0f7db93 100644 (file)
@@ -165,6 +165,9 @@ PORT i186_port = {
         /* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
         1, 2, 2, 4, 2, 2, 2, 1, 4, 4
     },
+    /* tags for generic pointers */
+    { 0x00, 0x40, 0x60, 0x80 },                /* far, near, xstack, code */
+
     {
         ".BSS",
         ".BSS",
@@ -194,6 +197,7 @@ PORT i186_port = {
     "_",
     _i186_init,
     _i186_parseOptions,
+    NULL,
     _i186_finaliseOptions,
     _i186_setDefaultOptions,
     izt_assignRegisters,
@@ -209,6 +213,7 @@ PORT i186_port = {
     NULL,
     NULL,
     FALSE,
+    TRUE,                              /* little endian */
     0,  /* leave lt */
     0,  /* leave gt */
     1,  /* transform <= to ! > */