avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and atmega8m1 devices.

* config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
	atmega8m1 devices.
	* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
	* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)

From-SVN: r145208
This commit is contained in:
Anatoly Sokolov 2009-03-29 00:14:48 +03:00 committed by Anatoly Sokolov
parent 74fe548b85
commit 8272d11d4a
4 changed files with 19 additions and 0 deletions

View File

@ -1,3 +1,10 @@
2009-03-28 Anatoly Sokolov <aesok@post.ru>
* config/avr/avr.c (avr_mcu_t): Add atmega8c1, atmega16c1 and
atmega8m1 devices.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.).
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.)
2009-03-28 Xinliang David Li <davidxl@google.com>
* tree-ssa-ccp.c (ccp_finalize): Add dbg_count support.

View File

@ -219,6 +219,8 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "atmega8hva", ARCH_AVR4, "__AVR_ATmega8HVA__" },
{ "atmega4hvd", ARCH_AVR4, "__AVR_ATmega4HVD__" },
{ "atmega8hvd", ARCH_AVR4, "__AVR_ATmega8HVD__" },
{ "atmega8c1", ARCH_AVR4, "__AVR_ATmega8C1__" },
{ "atmega8m1", ARCH_AVR4, "__AVR_ATmega8M1__" },
{ "at90pwm1", ARCH_AVR4, "__AVR_AT90PWM1__" },
{ "at90pwm2", ARCH_AVR4, "__AVR_AT90PWM2__" },
{ "at90pwm2b", ARCH_AVR4, "__AVR_AT90PWM2B__" },
@ -266,6 +268,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "at90can64", ARCH_AVR5, "__AVR_AT90CAN64__" },
{ "at90pwm216", ARCH_AVR5, "__AVR_AT90PWM216__" },
{ "at90pwm316", ARCH_AVR5, "__AVR_AT90PWM316__" },
{ "atmega16c1", ARCH_AVR5, "__AVR_ATmega16C1__" },
{ "atmega32c1", ARCH_AVR5, "__AVR_ATmega32C1__" },
{ "atmega64c1", ARCH_AVR5, "__AVR_ATmega64C1__" },
{ "atmega16m1", ARCH_AVR5, "__AVR_ATmega16M1__" },

View File

@ -890,8 +890,11 @@ mmcu=*:-mmcu=%*}"
mmcu=attiny327|\
mmcu=at90can*|\
mmcu=at90pwm*|\
mmcu=atmega8c1|\
mmcu=atmega16c1|\
mmcu=atmega32c1|\
mmcu=atmega64c1|\
mmcu=atmega8m1|\
mmcu=atmega16m1|\
mmcu=atmega32m1|\
mmcu=atmega64m1|\
@ -972,6 +975,8 @@ mmcu=*:-mmcu=%*}"
%{mmcu=atmega88p:crtm88p.o%s} \
%{mmcu=atmega8515:crtm8515.o%s} \
%{mmcu=atmega8535:crtm8535.o%s} \
%{mmcu=atmega8c1:crtm8c1.o%s} \
%{mmcu=atmega8m1:crtm8m1.o%s} \
%{mmcu=at90pwm1:crt90pwm1.o%s} \
%{mmcu=at90pwm2:crt90pwm2.o%s} \
%{mmcu=at90pwm2b:crt90pwm2b.o%s} \
@ -1020,6 +1025,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=at90can64:crtcan64.o%s} \
%{mmcu=at90pwm216:crt90pwm216.o%s} \
%{mmcu=at90pwm316:crt90pwm316.o%s} \
%{mmcu=atmega16c1:crtm16c1.o%s} \
%{mmcu=atmega32c1:crtm32c1.o%s} \
%{mmcu=atmega64c1:crtm64c1.o%s} \
%{mmcu=atmega16m1:crtm16m1.o%s} \

View File

@ -79,6 +79,8 @@ MULTILIB_MATCHES = \
mmcu?avr4=mmcu?atmega8hva \
mmcu?avr4=mmcu?atmega4hvd \
mmcu?avr4=mmcu?atmega8hvd \
mmcu?avr4=mmcu?atmega8c1 \
mmcu?avr4=mmcu?atmega8m1 \
mmcu?avr4=mmcu?at90pwm1 \
mmcu?avr4=mmcu?at90pwm2 \
mmcu?avr4=mmcu?at90pwm2b \
@ -124,6 +126,7 @@ MULTILIB_MATCHES = \
mmcu?avr5=mmcu?at90can64 \
mmcu?avr5=mmcu?at90pwm216 \
mmcu?avr5=mmcu?at90pwm316 \
mmcu?avr5=mmcu?atmega16c1 \
mmcu?avr5=mmcu?atmega32c1 \
mmcu?avr5=mmcu?atmega64c1 \
mmcu?avr5=mmcu?atmega16m1 \