OSDN Git Service

* config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jul 2009 18:49:03 +0000 (18:49 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 17 Jul 2009 18:49:03 +0000 (18:49 +0000)
atmega32u2 devices.
* config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149755 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 046c1ef..264f65f 100644 (file)
@@ -1,3 +1,9 @@
+2009-07-17  Anatoly Sokolov  <aesok@post.ru>
+
+       * config/avr/avr-devices.c (avr_mcu_t): Add atmega8u2, atmega16u2 and
+       atmega32u2 devices.
+       * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.).
+
 2009-07-17  Richard Guenther  <rguenther@suse.de>
 
        PR c/40401
index f422b4e..ad58772 100755 (executable)
@@ -93,6 +93,9 @@ const struct mcu_type_s avr_mcu_types[] = {
   { "avr35",                ARCH_AVR35, NULL,                       0, 0x0100, "usb162" },
   { "at90usb82",            ARCH_AVR35, "__AVR_AT90USB82__",        0, 0x0100, "usb82" },
   { "at90usb162",           ARCH_AVR35, "__AVR_AT90USB162__",       0, 0x0100, "usb162" },
+  { "atmega8u2",            ARCH_AVR35, "__AVR_ATmega8U2__",        0, 0x0100, "m8u2" },
+  { "atmega16u2",           ARCH_AVR35, "__AVR_ATmega16U2__",       0, 0x0100, "m16u2" },
+  { "atmega32u2",           ARCH_AVR35, "__AVR_ATmega32U2__",       0, 0x0100, "m32u2" },
   { "attiny167",            ARCH_AVR35, "__AVR_ATtiny167__",        0, 0x0100, "tn167" },
   { "attiny327",            ARCH_AVR35, "__AVR_ATtiny327__",        0, 0x0100, "tn327" },
     /* Enhanced, <= 8K.  */
index c27118e..5865617 100644 (file)
@@ -94,6 +94,9 @@ MULTILIB_MATCHES = \
        mmcu?avr31=mmcu?at43usb320 \
        mmcu?avr35=mmcu?at90usb82 \
        mmcu?avr35=mmcu?at90usb162 \
+       mmcu?avr35=mmcu?atmega8u2 \
+       mmcu?avr35=mmcu?atmega16u2 \
+       mmcu?avr35=mmcu?atmega32u2 \
        mmcu?avr35=mmcu?attiny167 \
        mmcu?avr35=mmcu?attiny327 \
        mmcu?avr4=mmcu?atmega48 \