summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-16 18:53:17 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2008-06-16 18:53:17 +0000
commit0c4e93a2e02aaffd93435b4d963e05acecc78919 (patch)
treeb5cb27b71863d26582814a97298ced9778ba06f0
parent45a559b09a6bb2543c90f05ecb853b270cdeecb9 (diff)
downloadgcc-0c4e93a2e02aaffd93435b4d963e05acecc78919.tar.gz
* 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@136847 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog6
-rw-r--r--gcc/config/avr/avr.c1
-rw-r--r--gcc/config/avr/avr.h2
-rw-r--r--gcc/config/avr/t-avr1
4 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index b5e5a51e19b..8e205af3eac 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 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 \