avr.c (avr_mcu_types): Add attiny43u.

* config/avr/avr.c (avr_mcu_types): Add attiny43u.
	* config/avr/avr.h (CRT_BINUTILS_SPECS): Likewsie.
	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.

From-SVN: r129411
This commit is contained in:
Eric B. Weddington 2007-10-17 17:13:14 +00:00 committed by Anatoly Sokolov
parent 2e23a5b3e3
commit 859bc2ff2d
4 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2007-10-17 Eric B. Weddington <eweddington@cso.atmel.com>
* config/avr/avr.c (avr_mcu_types): Add attiny43u.
* config/avr/avr.h (CRT_BINUTILS_SPECS): Likewsie.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2007-10-17 Uros Bizjak <ubizjak@gmail.com>
PR middle-end/33794

View File

@ -188,6 +188,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "attiny261", ARCH_AVR25, "__AVR_ATtiny261__" },
{ "attiny461", ARCH_AVR25, "__AVR_ATtiny461__" },
{ "attiny861", ARCH_AVR25, "__AVR_ATtiny861__" },
{ "attiny43u", ARCH_AVR25, "__AVR_ATtiny43U__" },
{ "at86rf401", ARCH_AVR25, "__AVR_AT86RF401__" },
/* Classic, > 8K. */
{ "avr3", ARCH_AVR3, NULL },

View File

@ -844,6 +844,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=attiny261:crttn261.o%s} \
%{mmcu=attiny461:crttn461.o%s} \
%{mmcu=attiny861:crttn861.o%s} \
%{mmcu=attiny43u:crttn43u.o%s} \
%{mmcu=atmega103|mmcu=avr3:crtm103.o%s} \
%{mmcu=atmega603:crtm603.o%s} \
%{mmcu=at43usb320:crt43320.o%s} \

View File

@ -53,6 +53,7 @@ MULTILIB_MATCHES = \
mmcu?avr25=mmcu?attiny261 \
mmcu?avr25=mmcu?attiny461 \
mmcu?avr25=mmcu?attiny861 \
mmcu?avr25=mmcu?attiny43u \
mmcu?avr25=mmcu?at86rf401 \
mmcu?avr3=mmcu?atmega103 \
mmcu?avr3=mmcu?atmega603 \