projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* device/include/pic16/adc.h,
[fw/sdcc]
/
src
/
izt
/
i186.c
diff --git
a/src/izt/i186.c
b/src/izt/i186.c
index 7a4e39ddd4299993217430c07e8c8aa65b56ef23..da67d9efc095d2349ceeb14eaeeeecf7d0f7db93 100644
(file)
--- 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 */
TARGET_ID_I186,
"i186",
"Intel 80186", /* Target name */
+ NULL,
{
{
+ glue,
FALSE, /* Emit glue around main */
MODEL_SMALL,
MODEL_SMALL
FALSE, /* Emit glue around main */
MODEL_SMALL,
MODEL_SMALL
@@
-145,12
+147,15
@@
PORT i186_port = {
_asmCmd,
NULL,
NULL,
_asmCmd,
NULL,
NULL,
+ NULL,
0,
0,
- ".s"
+ ".s",
+ NULL /* no do_assemble function */
},
{
_linkCmd,
NULL,
},
{
_linkCmd,
NULL,
+ NULL,
".o"
},
{
".o"
},
{
@@
-160,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
},
/* 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",
{
".BSS",
".BSS",
@@
-173,6
+181,8
@@
PORT i186_port = {
".DATA",
".TEXT",
".TEXT",
".DATA",
".TEXT",
".TEXT",
+ NULL, // xidata
+ NULL, // xinit
NULL,
NULL,
1
NULL,
NULL,
1
@@
-187,18
+197,23
@@
PORT i186_port = {
"_",
_i186_init,
_i186_parseOptions,
"_",
_i186_init,
_i186_parseOptions,
+ NULL,
_i186_finaliseOptions,
_i186_setDefaultOptions,
izt_assignRegisters,
_i186_getRegName ,
_i186_keywords,
_i186_genAssemblerPreamble,
_i186_finaliseOptions,
_i186_setDefaultOptions,
izt_assignRegisters,
_i186_getRegName ,
_i186_keywords,
_i186_genAssemblerPreamble,
+ NULL, /* no genAssemblerEnd */
_i186_genIVT ,
_i186_genIVT ,
+ NULL, // _i186_genXINIT
_i186_reset_regparm,
_i186_regparm,
NULL,
NULL,
_i186_reset_regparm,
_i186_regparm,
NULL,
NULL,
+ NULL,
FALSE,
FALSE,
+ TRUE, /* little endian */
0, /* leave lt */
0, /* leave gt */
1, /* transform <= to ! > */
0, /* leave lt */
0, /* leave gt */
1, /* transform <= to ! > */
@@
-206,5
+221,10
@@
PORT i186_port = {
1, /* transform != to !(a == b) */
0, /* leave == */
FALSE, /* No array initializer support. */
1, /* transform != to !(a == b) */
0, /* leave == */
FALSE, /* No array initializer support. */
+ 0, /* no CSE cost estimation yet */
+ NULL, /* no builtin functions */
+ GPOINTER, /* treat unqualified pointers as "generic" pointers */
+ 1, /* reset labelKey to 1 */
+ 1, /* globals & local static allowed */
PORT_MAGIC
};
PORT_MAGIC
};