X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fizt%2Fi186.c;h=da67d9efc095d2349ceeb14eaeeeecf7d0f7db93;hb=bb226788dab3832b0ec0cda70874ce3fce4eebc6;hp=e01ebe4d174ac8e2fc474e40642cad5f1bf78b24;hpb=56d0ea9144facb91da4bf0c6da418b80f2632bcd;p=fw%2Fsdcc diff --git a/src/izt/i186.c b/src/izt/i186.c index e01ebe4d..da67d9ef 100644 --- a/src/izt/i186.c +++ b/src/izt/i186.c @@ -136,7 +136,9 @@ PORT i186_port = { TARGET_ID_I186, "i186", "Intel 80186", /* Target name */ + NULL, { + glue, FALSE, /* Emit glue around main */ MODEL_SMALL, MODEL_SMALL @@ -163,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", @@ -192,6 +197,7 @@ PORT i186_port = { "_", _i186_init, _i186_parseOptions, + NULL, _i186_finaliseOptions, _i186_setDefaultOptions, izt_assignRegisters, @@ -207,6 +213,7 @@ PORT i186_port = { NULL, NULL, FALSE, + TRUE, /* little endian */ 0, /* leave lt */ 0, /* leave gt */ 1, /* transform <= to ! > */