avr.c (avr_mcu_t): Add atmega32u4.
authorEric B. Weddington <eric.weddington@atmel.com>
Tue, 17 Jun 2008 16:57:23 +0000 (16:57 +0000)
committerAnatoly Sokolov <aesok@gcc.gnu.org>
Tue, 17 Jun 2008 16:57:23 +0000 (20:57 +0400)
* config/avr/avr.c (avr_mcu_t): Add atmega32u4.
* config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.

From-SVN: r136869

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

index 3462fdd6ea394af250b6ca1dacf54730ead934dc..ec81fd32faec5d12ca4dd568399216140e3223a5 100644 (file)
@@ -1,3 +1,9 @@
+2008-06-17  Eric B. Weddington  <eric.weddington@atmel.com>
+
+       * config/avr/avr.c (avr_mcu_t): Add atmega32u4.
+       * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. 
+       * config/avr/t-avr (MULTILIB_MATCHES): Likewise. 
+
 2008-06-17  Bernhard Fischer  <aldot@gcc.gnu.org>
 
        * tree-ssa-sccvn.c: Fix format of comments.
index 94e22f09d3ebdc6c5753113b3d961fb271658d99..1c9fcc2a370775f00a848b37a39b06f4f0534190 100644 (file)
@@ -256,6 +256,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
   { "at90pwm316",   ARCH_AVR5, "__AVR_AT90PWM316__" },
   { "atmega32m1",   ARCH_AVR5, "__AVR_ATmega32M1__" },
   { "atmega32c1",   ARCH_AVR5, "__AVR_ATmega32C1__" },
+  { "atmega32u4",   ARCH_AVR5, "__AVR_ATmega32U4__" },
   { "at90usb646",   ARCH_AVR5, "__AVR_AT90USB646__" },
   { "at90usb647",   ARCH_AVR5, "__AVR_AT90USB647__" },
   { "at94k",        ARCH_AVR5, "__AVR_AT94K__" },
index bc14f0d2dd547381bbb9b8d86b0e90ef3cf2e0df..66e10d4fa415f6f9e69e2fab8fde69f4dad680c2 100644 (file)
@@ -875,6 +875,7 @@ mmcu=*:-mmcu=%*}"
   mmcu=at90pwm*|\
   mmcu=atmega32c1|\
   mmcu=atmega32m1|\
+  mmcu=atmega32u4|\
   mmcu=at90usb*: -Tdata 0x800100}\
 %{mmcu=atmega640|\
   mmcu=atmega1280|\
@@ -986,6 +987,7 @@ mmcu=*:-mmcu=%*}"
 %{mmcu=at90pwm316:crt90pwm316.o%s} \
 %{mmcu=atmega32c1:crtm32c1.o%s} \
 %{mmcu=atmega32m1:crtm32m1.o%s} \
+%{mmcu=atmega32u4:crtm32u4.o%s} \
 %{mmcu=at90usb646:crtusb646.o%s} \
 %{mmcu=at90usb647:crtusb647.o%s} \
 %{mmcu=at94k:crtat94k.o%s} \
index 101b84daabe90d51221600d77815a784ddc7e12b..644df9a9a5756109ace910af6f1fd9a39c9cf624 100644 (file)
@@ -116,6 +116,7 @@ MULTILIB_MATCHES = \
        mmcu?avr5=mmcu?at90pwm316 \
        mmcu?avr5=mmcu?atmega32c1 \
        mmcu?avr5=mmcu?atmega32m1 \
+       mmcu?avr5=mmcu?atmega32u4 \
        mmcu?avr5=mmcu?at90usb646 \
        mmcu?avr5=mmcu?at90usb647 \
        mmcu?avr5=mmcu?at94k \