Commit 5a7e237c by Anatoly Sokolov Committed by Anatoly Sokolov

avr.c (avr_mcu_t): Add ata6289 device.

	* 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.).

From-SVN: r144006
parent da1512ad
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> 2009-02-06 Joseph Myers <joseph@codesourcery.com>
PR c/35434 PR c/35434
......
/* Subroutines for insn-output.c for ATMEL AVR micro controllers /* Subroutines for insn-output.c for ATMEL AVR micro controllers
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008 Copyright (C) 1998, 1999, 2000, 2001, 2002, 2004, 2005, 2006, 2007, 2008,
Free Software Foundation, Inc. 2009 Free Software Foundation, Inc.
Contributed by Denis Chertykov (denisc@overta.ru) Contributed by Denis Chertykov (denisc@overta.ru)
This file is part of GCC. This file is part of GCC.
...@@ -175,6 +175,7 @@ static const struct mcu_type_s avr_mcu_types[] = { ...@@ -175,6 +175,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "at90s8535", ARCH_AVR2, "__AVR_AT90S8535__" }, { "at90s8535", ARCH_AVR2, "__AVR_AT90S8535__" },
/* Classic + MOVW, <= 8K. */ /* Classic + MOVW, <= 8K. */
{ "avr25", ARCH_AVR25, NULL }, { "avr25", ARCH_AVR25, NULL },
{ "ata6289", ARCH_AVR25, "__AVR_ATA6289__" },
{ "attiny13", ARCH_AVR25, "__AVR_ATtiny13__" }, { "attiny13", ARCH_AVR25, "__AVR_ATtiny13__" },
{ "attiny13a", ARCH_AVR25, "__AVR_ATtiny13A__" }, { "attiny13a", ARCH_AVR25, "__AVR_ATtiny13A__" },
{ "attiny2313", ARCH_AVR25, "__AVR_ATtiny2313__" }, { "attiny2313", ARCH_AVR25, "__AVR_ATtiny2313__" },
......
/* Definitions of target machine for GNU compiler, /* Definitions of target machine for GNU compiler,
for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers. for ATMEL AVR at90s8515, ATmega103/103L, ATmega603/603L microcontrollers.
Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 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) Contributed by Denis Chertykov (denisc@overta.ru)
This file is part of GCC. This file is part of GCC.
...@@ -826,6 +826,7 @@ mmcu=*:-mmcu=%*}" ...@@ -826,6 +826,7 @@ mmcu=*:-mmcu=%*}"
mmcu=at90s8*|\ mmcu=at90s8*|\
mmcu=at90c8*|\ mmcu=at90c8*|\
mmcu=at86rf401|\ mmcu=at86rf401|\
mmcu=ata6289|\
mmcu=attiny13*|\ mmcu=attiny13*|\
mmcu=attiny2313|\ mmcu=attiny2313|\
mmcu=attiny24|\ mmcu=attiny24|\
...@@ -900,6 +901,7 @@ mmcu=*:-mmcu=%*}" ...@@ -900,6 +901,7 @@ mmcu=*:-mmcu=%*}"
mmcu=atmega16u4|\ mmcu=atmega16u4|\
mmcu=atmega32u*|\ mmcu=atmega32u*|\
mmcu=at90scr100|\ mmcu=at90scr100|\
mmcu=ata6289|\
mmcu=at90usb*: -Tdata 0x800100}\ mmcu=at90usb*: -Tdata 0x800100}\
%{mmcu=atmega640|\ %{mmcu=atmega640|\
mmcu=atmega1280|\ mmcu=atmega1280|\
...@@ -957,6 +959,7 @@ mmcu=*:-mmcu=%*}" ...@@ -957,6 +959,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=attiny87:crttn87.o%s} \ %{mmcu=attiny87:crttn87.o%s} \
%{mmcu=attiny48:crttn48.o%s} \ %{mmcu=attiny48:crttn48.o%s} \
%{mmcu=attiny88:crttn88.o%s} \ %{mmcu=attiny88:crttn88.o%s} \
%{mmcu=ata6289:crta6289.o%s} \
%{mmcu=at43usb355|mmcu=avr3:crt43355.o%s} \ %{mmcu=at43usb355|mmcu=avr3:crt43355.o%s} \
%{mmcu=at76c711:crt76711.o%s} \ %{mmcu=at76c711:crt76711.o%s} \
%{mmcu=atmega103|mmcu=avr31:crtm103.o%s} \ %{mmcu=atmega103|mmcu=avr31:crtm103.o%s} \
......
...@@ -43,6 +43,7 @@ MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 avr6 ...@@ -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. # The many avr2 matches are not listed here - this is the default.
MULTILIB_MATCHES = \ MULTILIB_MATCHES = \
mmcu?avr25=mmcu?ata6289 \
mmcu?avr25=mmcu?attiny13 \ mmcu?avr25=mmcu?attiny13 \
mmcu?avr25=mmcu?attiny13a \ mmcu?avr25=mmcu?attiny13a \
mmcu?avr25=mmcu?attiny2313 \ mmcu?avr25=mmcu?attiny2313 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment