return TRUE;
}
+/* Indicate which extended bit operations this port supports */
+static bool
+hasExtBitOp (int op, int size)
+{
+ if (op == RRC
+ || op == RLC
+ || op == GETHBIT
+ )
+ return TRUE;
+ else
+ return FALSE;
+}
+
+/* Indicate the expense of an access to an output storage class */
+static int
+oclsExpense (struct memmap *oclass)
+{
+ if (IN_FARSPACE(oclass))
+ return 1;
+
+ return 0;
+}
+
/** $1 is always the basename.
$2 is always the output file.
$3 varies
"ATMEL AVR", /* Target name */
NULL, /* processor */
{
+ glue,
TRUE, /* Emit glue around main */
MODEL_LARGE | MODEL_SMALL,
- MODEL_SMALL},
+ MODEL_SMALL
+ },
{
_asmCmd,
NULL,
_linkCmd,
NULL,
NULL,
- ".rel"},
+ ".rel",
+ 1},
{
_defaultRules},
{
{
1, -1
},
+ {
+ avr_emitDebuggerSymbol
+ },
"_",
_avr_init,
_avr_parseOptions,
NULL,
+ NULL,
_avr_finaliseOptions,
_avr_setDefaultOptions,
avr_assignRegisters,
NULL, /* no genAssemblerEnd */
_avr_genIVT,
NULL, // _avr_genXINIT
+ NULL, /* genInitStartup */
_avr_reset_regparm,
_avr_regparm,
NULL,
NULL,
NULL,
+ hasExtBitOp, /* hasExtBitOp */
+ oclsExpense, /* oclsExpense */
FALSE,
+ TRUE, /* little endian */
0, /* leave lt */
1, /* transform gt ==> not le */
0, /* leave le */