diff options
author | Eric B. Weddington <eric.weddington@atmel.com> | 2008-06-16 18:53:17 +0000 |
---|---|---|
committer | Anatoly Sokolov <aesok@gcc.gnu.org> | 2008-06-16 22:53:17 +0400 |
commit | ec346900d502e4cc93f1e28f1dd9c0bb88f39a67 (patch) | |
tree | b5cb27b71863d26582814a97298ced9778ba06f0 | |
parent | 951a5379f296c9b5bf767f1fe0b8360a268b25ce (diff) | |
download | gcc-ec346900d502e4cc93f1e28f1dd9c0bb88f39a67.zip gcc-ec346900d502e4cc93f1e28f1dd9c0bb88f39a67.tar.gz gcc-ec346900d502e4cc93f1e28f1dd9c0bb88f39a67.tar.bz2 |
avr.c (avr_mcu_t): Add atmega32c1.
* gcc/config/avr/avr.c (avr_mcu_t): Add atmega32c1.
* gcc/config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
* gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise.
From-SVN: r136847
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/avr/avr.c | 1 | ||||
-rw-r--r-- | gcc/config/avr/avr.h | 2 | ||||
-rw-r--r-- | gcc/config/avr/t-avr | 1 |
4 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5e5a51..8e205af 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,11 @@ 2008-06-16 Eric B. Weddington <eric.weddington@atmel.com> + * config/avr/avr.c (avr_mcu_t): Add atmega32c1. + * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. + * config/avr/t-avr (MULTILIB_MATCHES): Likewise. + +2008-06-16 Eric B. Weddington <eric.weddington@atmel.com> + * config/avr/avr.c (avr_mcu_t): Add atmega32m1. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. * config/avr/t-avr (MULTILIB_MATCHES): Likewise. diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index d185a25..94e22f0 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -255,6 +255,7 @@ static const struct mcu_type_s avr_mcu_types[] = { { "at90pwm216", ARCH_AVR5, "__AVR_AT90PWM216__" }, { "at90pwm316", ARCH_AVR5, "__AVR_AT90PWM316__" }, { "atmega32m1", ARCH_AVR5, "__AVR_ATmega32M1__" }, + { "atmega32c1", ARCH_AVR5, "__AVR_ATmega32C1__" }, { "at90usb646", ARCH_AVR5, "__AVR_AT90USB646__" }, { "at90usb647", ARCH_AVR5, "__AVR_AT90USB647__" }, { "at94k", ARCH_AVR5, "__AVR_AT94K__" }, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index e7d3b58..bc14f0d 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -873,6 +873,7 @@ mmcu=*:-mmcu=%*}" mmcu=attiny88|\ mmcu=at90can*|\ mmcu=at90pwm*|\ + mmcu=atmega32c1|\ mmcu=atmega32m1|\ mmcu=at90usb*: -Tdata 0x800100}\ %{mmcu=atmega640|\ @@ -983,6 +984,7 @@ mmcu=*:-mmcu=%*}" %{mmcu=at90can64:crtcan64.o%s} \ %{mmcu=at90pwm216:crt90pwm216.o%s} \ %{mmcu=at90pwm316:crt90pwm316.o%s} \ +%{mmcu=atmega32c1:crtm32c1.o%s} \ %{mmcu=atmega32m1:crtm32m1.o%s} \ %{mmcu=at90usb646:crtusb646.o%s} \ %{mmcu=at90usb647:crtusb647.o%s} \ diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index 9881bea..101b84d 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -114,6 +114,7 @@ MULTILIB_MATCHES = \ mmcu?avr5=mmcu?at90can64 \ mmcu?avr5=mmcu?at90pwm216 \ mmcu?avr5=mmcu?at90pwm316 \ + mmcu?avr5=mmcu?atmega32c1 \ mmcu?avr5=mmcu?atmega32m1 \ mmcu?avr5=mmcu?at90usb646 \ mmcu?avr5=mmcu?at90usb647 \ |