"_xdata",
"_pdata",
"_idata",
+ "_naked",
NULL
};
_mcs51_finaliseOptions (void)
{
if (options.model == MODEL_LARGE) {
- port->mem.default_local_map = data;
+ port->mem.default_local_map = xdata;
port->mem.default_globl_map = xdata;
}
else
*/
static const char *_linkCmd[] =
{
- "aslink", "-nf", "$1", NULL
+ "{bindir}{sep}aslink", "-nf", "$1", NULL
};
+/* $3 is replaced by assembler.debug_opts resp. port->assembler.plain_opts */
static const char *_asmCmd[] =
{
- "asx8051", "$l", "-plosgffc", "$1.asm", NULL
+ "asx8051", "$l", "$3", "$1.asm", NULL
};
/* Globals */
},
{
_asmCmd,
+ NULL,
"-plosgffc", /* Options with debug */
"-plosgff", /* Options without debug */
- 0
+ 0,
+ ".asm"
},
{
_linkCmd,
NULL,
+ NULL,
".rel"
},
{
},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
- 1, 1, 2, 4, 1, 2, 3, 1, 4, 4
+ 1, 2, 2, 4, 1, 2, 3, 1, 4, 4
},
{
"XSEG (XDATA)",
},
/* mcs51 has an 8 bit mul */
{
- 1, 0
+ 1, -1
},
"_",
_mcs51_init,
_mcs51_reset_regparm,
_mcs51_regparm,
NULL,
+ NULL,
FALSE,
0, /* leave lt */
0, /* leave gt */
1, /* transform >= to ! < */
1, /* transform != to !(a == b) */
0, /* leave == */
+ FALSE, /* No array initializer support. */
PORT_MAGIC
};