void pCodeInitRegisters(void);
-void pic14_assignRegisters (eBBlock ** ebbs, int count);
+void pic14_assignRegisters (ebbIndex *);
/* Also defined in gen.h, but the #include is commented out */
/* for an unknowned reason. - EEP */
}
static void
-_pic14_reset_regparm ()
+_pic14_reset_regparm (void)
{
regParmFlg = 0;
}
static int
-_pic14_regparm (sym_link * l)
+_pic14_regparm (sym_link * l, bool reentrant)
{
/* for this processor it is simple
can pass only the first parameter in a register */
*/
static const char *_linkCmd[] =
{
- "gplink", "-o $2", "\"$1.o\"", "$l", NULL
+ "gplink", "$l", "-o \"$2\"", "\"$1\"", "$3", NULL
};
static const char *_asmCmd[] =
"code",
"DSEG (DATA)",
"ISEG (DATA)",
+ NULL, /* pdata */
"XSEG (XDATA)",
"BSEG (BIT)",
"RSEG (DATA)",
"HOME (CODE)",
NULL, // xidata
NULL, // xinit
+ "CONST (CODE)", // const_name - const data (code or not)
NULL,
NULL,
1 // code is read only
{
pic14_emitDebuggerSymbol
},
+ {
+ 255/3, /* maxCount */
+ 3, /* sizeofElement */
+ /* The rest of these costs are bogus. They approximate */
+ /* the behavior of src/SDCCicode.c 1.207 and earlier. */
+ {4,4,4}, /* sizeofMatchJump[] */
+ {0,0,0}, /* sizeofRangeCompare[] */
+ 0, /* sizeofSubtract */
+ 3, /* sizeofDispatch */
+ },
"_",
_pic14_init,
_pic14_parseOptions,