From: Eric B. Weddington Date: Mon, 16 Jun 2008 18:53:17 +0000 (+0000) Subject: avr.c (avr_mcu_t): Add atmega32c1. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec346900d502e4cc93f1e28f1dd9c0bb88f39a67;p=gcc.git 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 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index b5e5a51e19b..8e205af3eac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-06-16 Eric B. Weddington + + * 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 * config/avr/avr.c (avr_mcu_t): Add atmega32m1. diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index d185a25a877..94e22f09d3e 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 e7d3b587e63..bc14f0d2dd5 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 9881bea3b55..101b84daabe 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 \