avr.c (avr_mcu_t): Add atmega32m1.
authorEric B. Weddington <eric.weddington@atmel.com>
Mon, 16 Jun 2008 18:44:41 +0000 (18:44 +0000)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Mon, 16 Jun 2008 18:44:41 +0000 (22:44 +0400)
* gcc/config/avr/avr.c (avr_mcu_t): Add atmega32m1.
* gcc/config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
* gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise.

From-SVN: r136846

gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/t-avr

index 39c826eaa805b536fa2bbb2828a68d6ae6e4641a..b5e5a51e19b85cce1b4351586260033932764305 100644 (file)
@@ -1,3 +1,9 @@
+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. 
+
 2008-06-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * Makefile.in (FLAGS_TO_PASS): Add $(datarootdir).
index e4820e623f08f8b71d073900bef24ee785dfb877..d185a25a87774384fc985ac50ed533cde248aa23 100644 (file)
@@ -254,6 +254,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__" },
+  { "atmega32m1",   ARCH_AVR5, "__AVR_ATmega32M1__" },
   { "at90usb646",   ARCH_AVR5, "__AVR_AT90USB646__" },
   { "at90usb647",   ARCH_AVR5, "__AVR_AT90USB647__" },
   { "at94k",        ARCH_AVR5, "__AVR_AT94K__" },
index d915aff10405fea7ab2486b59c3f7948b5096cf5..e7d3b587e632ad8918346b1915d4d98da4d31767 100644 (file)
@@ -873,6 +873,7 @@ mmcu=*:-mmcu=%*}"
   mmcu=attiny88|\
   mmcu=at90can*|\
   mmcu=at90pwm*|\
+  mmcu=atmega32m1|\
   mmcu=at90usb*: -Tdata 0x800100}\
 %{mmcu=atmega640|\
   mmcu=atmega1280|\
@@ -982,6 +983,7 @@ mmcu=*:-mmcu=%*}"
 %{mmcu=at90can64:crtcan64.o%s} \
 %{mmcu=at90pwm216:crt90pwm216.o%s} \
 %{mmcu=at90pwm316:crt90pwm316.o%s} \
+%{mmcu=atmega32m1:crtm32m1.o%s} \
 %{mmcu=at90usb646:crtusb646.o%s} \
 %{mmcu=at90usb647:crtusb647.o%s} \
 %{mmcu=at94k:crtat94k.o%s} \
index 5804400540a04da73795c49d810b9c304320088b..9881bea3b553234b78aef6c7f7fe920d460f0ca6 100644 (file)
@@ -114,6 +114,7 @@ MULTILIB_MATCHES = \
        mmcu?avr5=mmcu?at90can64 \
        mmcu?avr5=mmcu?at90pwm216 \
        mmcu?avr5=mmcu?at90pwm316 \
+       mmcu?avr5=mmcu?atmega32m1 \
        mmcu?avr5=mmcu?at90usb646 \
        mmcu?avr5=mmcu?at90usb647 \
        mmcu?avr5=mmcu?at94k \