static void
_avr_init (void)
{
- asm_addTree (&asm_gas_mapping);
+ asm_addTree (&asm_asxxxx_mapping);
}
static void
MUST be terminated with a NULL.
*/
static const char *_linkCmd[] = {
- "avr-ld", "", "$1", NULL
+ "linkavr", "", "$1", NULL
};
static const char *_asmCmd[] = {
- "avr-as", "", "$1.asm", NULL
+ "asavr", "$l" , "-plosgff", "$1.s", NULL
};
/* Globals */
MODEL_SMALL},
{
_asmCmd,
- "-plosgffc", /* Options with debug */
+ "-plosgff", /* Options with debug */
"-plosgff", /* Options without debug */
- 0},
+ 0,
+ ".s"},
{
_linkCmd,
NULL,
_defaultRules},
{
/* Sizes: char, short, int, long, ptr, fptr, gptr, bit, float, max */
- 1, 1, 2, 4, 2, 2, 3, 1, 4, 4},
+ 1, 2, 2, 4, 2, 2, 3, 1, 4, 4},
{
"XSEG",
"STACK",
-1, 1, 4, 1, 1, 0},
/* avr has an 8 bit mul */
{
- 1, 0},
+ 1, -1
+ },
"_",
_avr_init,
_avr_parseOptions,
_avr_genIVT,
_avr_reset_regparm,
_avr_regparm,
+ NULL,
NULL,
FALSE,
0, /* leave lt */
0, /* leave ge */
0, /* leave != */
0, /* leave == */
+ FALSE, /* No array initializer support. */
PORT_MAGIC
};