diff options
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 5 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 5 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 1 |
4 files changed, 14 insertions, 3 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8befe01..11c3612 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2009-02-07 Anatoly Sokolov <aesok@post.ru> + + * config/avr/avr.c (avr_mcu_t): Add ata6289 device. + * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). + * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). + 2009-02-06 Joseph Myers <joseph@codesourcery.com> PR c/35434 diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 8ec6e2c..f8ef6d5 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -1,6 +1,6 @@ /* Subroutines for insn-output.c for ATMEL AVR micro controllers - Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008 - Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008, + 2009 Free Software Foundation, Inc. Contributed by Denis Chertykov (denisc@overta.ru) This file is part of GCC. @@ -175,6 +175,7 @@ static const struct mcu_type_s avr_mcu_types[] = { { "at90s8535", ARCH_AVR2, "__AVR_AT90S8535__" }, /* Classic + MOVW, <= 8K. */ { "avr25", ARCH_AVR25, NULL }, + { "ata6289", ARCH_AVR25, "__AVR_ATA6289__" }, { "attiny13", ARCH_AVR25, "__AVR_ATtiny13__" }, { "attiny13a", ARCH_AVR25, "__AVR_ATtiny13A__" }, { "attiny2313", ARCH_AVR25, "__AVR_ATtiny2313__" }, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index d54870c..8a4d98a 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -1,7 +1,7 @@ /* Definitions of target machine for GNU compiler, for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers. Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, - 2008 Free Software Foundation, Inc. + 2008, 2009 Free Software Foundation, Inc. Contributed by Denis Chertykov (denisc@overta.ru) This file is part of GCC. @@ -826,6 +826,7 @@ mmcu=*:-mmcu=%*}" mmcu=at90s8*|\ mmcu=at90c8*|\ mmcu=at86rf401|\ + mmcu=ata6289|\ mmcu=attiny13*|\ mmcu=attiny2313|\ mmcu=attiny24|\ @@ -900,6 +901,7 @@ mmcu=*:-mmcu=%*}" mmcu=atmega16u4|\ mmcu=atmega32u*|\ mmcu=at90scr100|\ + mmcu=ata6289|\ mmcu=at90usb*: -Tdata 0x800100}\ %{mmcu=atmega640|\ mmcu=atmega1280|\ @@ -957,6 +959,7 @@ mmcu=*:-mmcu=%*}" %{mmcu=attiny87:crttn87.o%s} \ %{mmcu=attiny48:crttn48.o%s} \ %{mmcu=attiny88:crttn88.o%s} \ +%{mmcu=ata6289:crta6289.o%s} \ %{mmcu=at43usb355|mmcu=avr3:crt43355.o%s} \ %{mmcu=at76c711:crt76711.o%s} \ %{mmcu=atmega103|mmcu=avr31:crtm103.o%s} \ diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index cbb4781..9d8d386c 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -43,6 +43,7 @@ MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 # The many avr2 matches are not listed here - this is the default. MULTILIB_MATCHES = \ + mmcu?avr25=mmcu?ata6289 \ mmcu?avr25=mmcu?attiny13 \ mmcu?avr25=mmcu?attiny13a \ mmcu?avr25=mmcu?attiny2313 \ |