217 lines
12 KiB
Diff
217 lines
12 KiB
Diff
diff -ur gcc-4.5.0-clean/gcc/config/avr/avr-devices.c gcc-4.5.0/gcc/config/avr/avr-devices.c
|
|
--- gcc-4.5.0-clean/gcc/config/avr/avr-devices.c 2009-07-18 04:49:03.000000000 +1000
|
|
+++ gcc-4.5.0/gcc/config/avr/avr-devices.c 2010-07-09 23:32:45.000000000 +1000
|
|
@@ -67,15 +67,21 @@
|
|
{ "attiny13", ARCH_AVR25, "__AVR_ATtiny13__", 1, 0x0060, "tn13" },
|
|
{ "attiny13a", ARCH_AVR25, "__AVR_ATtiny13A__", 1, 0x0060, "tn13a" },
|
|
{ "attiny2313", ARCH_AVR25, "__AVR_ATtiny2313__", 1, 0x0060, "tn2313" },
|
|
+ { "attiny2313a", ARCH_AVR25, "__AVR_ATtiny2313A__", /*?*/1, 0x0060, "tn2313a" },
|
|
{ "attiny24", ARCH_AVR25, "__AVR_ATtiny24__", 1, 0x0060, "tn24" },
|
|
+ { "attiny24a", ARCH_AVR25, "__AVR_ATtiny24A__", /*?*/1, 0x0060, "tn24a" },
|
|
+ { "attiny4313", ARCH_AVR25, "__AVR_ATtiny4313__", /*?*/0, 0x0060, "tn44313" },
|
|
{ "attiny44", ARCH_AVR25, "__AVR_ATtiny44__", 0, 0x0060, "tn44" },
|
|
+ { "attiny44a", ARCH_AVR25, "__AVR_ATtiny44A__", /*?*/0, 0x0060, "tn44a" },
|
|
{ "attiny84", ARCH_AVR25, "__AVR_ATtiny84__", 0, 0x0060, "tn84" },
|
|
{ "attiny25", ARCH_AVR25, "__AVR_ATtiny25__", 1, 0x0060, "tn25" },
|
|
{ "attiny45", ARCH_AVR25, "__AVR_ATtiny45__", 0, 0x0060, "tn45" },
|
|
{ "attiny85", ARCH_AVR25, "__AVR_ATtiny85__", 0, 0x0060, "tn85" },
|
|
{ "attiny261", ARCH_AVR25, "__AVR_ATtiny261__", 1, 0x0060, "tn261" },
|
|
+ { "attiny261a", ARCH_AVR25, "__AVR_ATtiny261A__", /*?*/1, 0x0060, "tn261a" },
|
|
{ "attiny461", ARCH_AVR25, "__AVR_ATtiny461__", 0, 0x0060, "tn461" },
|
|
{ "attiny861", ARCH_AVR25, "__AVR_ATtiny861__", 0, 0x0060, "tn861" },
|
|
+ { "attiny861a", ARCH_AVR25, "__AVR_ATtiny861A__", /*?*/0, 0x0060, "tn861a" },
|
|
{ "attiny43u", ARCH_AVR25, "__AVR_ATtiny43U__", 0, 0x0060, "tn43u" },
|
|
{ "attiny87", ARCH_AVR25, "__AVR_ATtiny87__", 0, 0x0100, "tn87" },
|
|
{ "attiny48", ARCH_AVR25, "__AVR_ATtiny48__", 0, 0x0100, "tn48" },
|
|
@@ -102,9 +108,12 @@
|
|
{ "avr4", ARCH_AVR4, NULL, 0, 0x0060, "m8" },
|
|
{ "atmega8", ARCH_AVR4, "__AVR_ATmega8__", 0, 0x0060, "m8" },
|
|
{ "atmega48", ARCH_AVR4, "__AVR_ATmega48__", 0, 0x0100, "m48" },
|
|
+ { "atmega48a", ARCH_AVR4, "__AVR_ATmega48A__", /*?*/0, 0x0100, "m48a" },
|
|
{ "atmega48p", ARCH_AVR4, "__AVR_ATmega48P__", 0, 0x0100, "m48p" },
|
|
{ "atmega88", ARCH_AVR4, "__AVR_ATmega88__", 0, 0x0100, "m88" },
|
|
+ { "atmega88a", ARCH_AVR4, "__AVR_ATmega88A__", /*?*/0, 0x0100, "m88a" },
|
|
{ "atmega88p", ARCH_AVR4, "__AVR_ATmega88P__", 0, 0x0100, "m88p" },
|
|
+ { "atmega88pa", ARCH_AVR4, "__AVR_ATmega88PA__", /*?*/0, 0x0100, "m88pa" },
|
|
{ "atmega8515", ARCH_AVR4, "__AVR_ATmega8515__", 0, 0x0060, "m8515" },
|
|
{ "atmega8535", ARCH_AVR4, "__AVR_ATmega8535__", 0, 0x0060, "m8535" },
|
|
{ "atmega8c1", ARCH_AVR4, "__AVR_ATmega8C1__", 0, 0x0100, "m8c1" },
|
|
@@ -121,40 +130,62 @@
|
|
/* Enhanced, > 8K, <= 64K. */
|
|
{ "avr5", ARCH_AVR5, NULL, 0, 0x0060, "m16" },
|
|
{ "atmega16", ARCH_AVR5, "__AVR_ATmega16__", 0, 0x0060, "m16" },
|
|
+ { "atmega16a", ARCH_AVR5, "__AVR_ATmega16A__", /*?*/0, 0x0060, "m16a" },
|
|
{ "atmega161", ARCH_AVR5, "__AVR_ATmega161__", 0, 0x0060, "m161" },
|
|
{ "atmega162", ARCH_AVR5, "__AVR_ATmega162__", 0, 0x0100, "m162" },
|
|
{ "atmega163", ARCH_AVR5, "__AVR_ATmega163__", 0, 0x0060, "m163" },
|
|
+ { "atmega164a", ARCH_AVR5, "__AVR_ATmega164A__", /*?*/0, 0x0100, "m164a" },
|
|
{ "atmega164p", ARCH_AVR5, "__AVR_ATmega164P__", 0, 0x0100, "m164p" },
|
|
{ "atmega165", ARCH_AVR5, "__AVR_ATmega165__", 0, 0x0100, "m165" },
|
|
+ { "atmega165a", ARCH_AVR5, "__AVR_ATmega165A__", 0, 0x0100, "m165a" },
|
|
{ "atmega165p", ARCH_AVR5, "__AVR_ATmega165P__", 0, 0x0100, "m165p" },
|
|
{ "atmega168", ARCH_AVR5, "__AVR_ATmega168__", 0, 0x0100, "m168" },
|
|
+ { "atmega168a", ARCH_AVR5, "__AVR_ATmega168A__", /*?*/0, 0x0100, "m168a" },
|
|
{ "atmega168p", ARCH_AVR5, "__AVR_ATmega168P__", 0, 0x0100, "m168p" },
|
|
{ "atmega169", ARCH_AVR5, "__AVR_ATmega169__", 0, 0x0100, "m169" },
|
|
+ { "atmega169a", ARCH_AVR5, "__AVR_ATmega169A__", /*?*/0, 0x0100, "m169a" },
|
|
{ "atmega169p", ARCH_AVR5, "__AVR_ATmega169P__", 0, 0x0100, "m169p" },
|
|
+ { "atmega169pa", ARCH_AVR5, "__AVR_ATmega169PA__", /*?*/0, 0x0100, "m169pa" },
|
|
{ "atmega32", ARCH_AVR5, "__AVR_ATmega32__", 0, 0x0060, "m32" },
|
|
{ "atmega323", ARCH_AVR5, "__AVR_ATmega323__", 0, 0x0060, "m323" },
|
|
+ { "atmega324a", ARCH_AVR5, "__AVR_ATmega324A__", /*?*/0, 0x0100, "m324a" },
|
|
{ "atmega324p", ARCH_AVR5, "__AVR_ATmega324P__", 0, 0x0100, "m324p" },
|
|
+ { "atmega324pa", ARCH_AVR5, "__AVR_ATmega324PA__", /*?*/0, 0x0100, "m324pa" },
|
|
{ "atmega325", ARCH_AVR5, "__AVR_ATmega325__", 0, 0x0100, "m325" },
|
|
{ "atmega325p", ARCH_AVR5, "__AVR_ATmega325P__", 0, 0x0100, "m325p" },
|
|
{ "atmega3250", ARCH_AVR5, "__AVR_ATmega3250__", 0, 0x0100, "m3250" },
|
|
{ "atmega3250p", ARCH_AVR5, "__AVR_ATmega3250P__", 0, 0x0100, "m3250p" },
|
|
+ { "atmega328", ARCH_AVR5, "__AVR_ATmega328__", /*?*/0, 0x0100, "m328" },
|
|
{ "atmega328p", ARCH_AVR5, "__AVR_ATmega328P__", 0, 0x0100, "m328p" },
|
|
{ "atmega329", ARCH_AVR5, "__AVR_ATmega329__", 0, 0x0100, "m329" },
|
|
{ "atmega329p", ARCH_AVR5, "__AVR_ATmega329P__", 0, 0x0100, "m329p" },
|
|
+ { "atmega329pa", ARCH_AVR5, "__AVR_ATmega329PA__", /*?*/0, 0x0100, "m329pa" },
|
|
{ "atmega3290", ARCH_AVR5, "__AVR_ATmega3290__", 0, 0x0100, "m3290" },
|
|
{ "atmega3290p", ARCH_AVR5, "__AVR_ATmega3290P__", 0, 0x0100, "m3290p" },
|
|
{ "atmega406", ARCH_AVR5, "__AVR_ATmega406__", 0, 0x0100, "m406" },
|
|
{ "atmega64", ARCH_AVR5, "__AVR_ATmega64__", 0, 0x0100, "m64" },
|
|
{ "atmega640", ARCH_AVR5, "__AVR_ATmega640__", 0, 0x0200, "m640" },
|
|
{ "atmega644", ARCH_AVR5, "__AVR_ATmega644__", 0, 0x0100, "m644" },
|
|
+ { "atmega644a", ARCH_AVR5, "__AVR_ATmega644A__", /*?*/0, 0x0100, "m644a" },
|
|
{ "atmega644p", ARCH_AVR5, "__AVR_ATmega644P__", 0, 0x0100, "m644p" },
|
|
+ { "atmega644pa", ARCH_AVR5, "__AVR_ATmega644PA__", /*?*/0, 0x0100, "m644pa" },
|
|
{ "atmega645", ARCH_AVR5, "__AVR_ATmega645__", 0, 0x0100, "m645" },
|
|
+ { "atmega645a", ARCH_AVR5, "__AVR_ATmega645A__", /*?*/0, 0x0100, "m645a" },
|
|
+ { "atmega645p", ARCH_AVR5, "__AVR_ATmega645P__", /*?*/0, 0x0100, "m645p" },
|
|
{ "atmega6450", ARCH_AVR5, "__AVR_ATmega6450__", 0, 0x0100, "m6450" },
|
|
+ { "atmega6450a", ARCH_AVR5, "__AVR_ATmega6450A__", /*?*/0, 0x0100, "m6450a" },
|
|
+ { "atmega6450p", ARCH_AVR5, "__AVR_ATmega6450P__", /*?*/0, 0x0100, "m6450p" },
|
|
{ "atmega649", ARCH_AVR5, "__AVR_ATmega649__", 0, 0x0100, "m649" },
|
|
+ { "atmega649a", ARCH_AVR5, "__AVR_ATmega649A__", /*?*/0, 0x0100, "m649a" },
|
|
+ { "atmega649p", ARCH_AVR5, "__AVR_ATmega649P__", /*?*/0, 0x0100, "m649p" },
|
|
{ "atmega6490", ARCH_AVR5, "__AVR_ATmega6490__", 0, 0x0100, "m6490" },
|
|
+ { "atmega6490a", ARCH_AVR5, "__AVR_ATmega6490A__", /*?*/0, 0x0100, "m6490a" },
|
|
+ { "atmega6490p", ARCH_AVR5, "__AVR_ATmega6490P__", /*?*/0, 0x0100, "m6490p" },
|
|
{ "atmega16hva", ARCH_AVR5, "__AVR_ATmega16HVA__", 0, 0x0100, "m16hva" },
|
|
+ { "atmega16hva2", ARCH_AVR5, "__AVR_ATmega16HVA2__", /*?*/0, 0x0100, "m16hva2" },
|
|
{ "atmega16hvb", ARCH_AVR5, "__AVR_ATmega16HVB__", 0, 0x0100, "m16hvb" },
|
|
- { "atmega32hvb", ARCH_AVR5, "__AVR_ATmega32HVB__", 0, 0x0100, "m23hvb" },
|
|
+ { "atmega32hvb", ARCH_AVR5, "__AVR_ATmega32HVB__", 0, 0x0100, "m32hvb" },
|
|
+ { "atmega64hve", ARCH_AVR5, "__AVR_ATmega64HVE__", /*?*/0, 0x0100, "m64hve" },
|
|
{ "at90can32", ARCH_AVR5, "__AVR_AT90CAN32__", 0, 0x0100, "can32" },
|
|
{ "at90can64", ARCH_AVR5, "__AVR_AT90CAN64__", 0, 0x0100, "can64" },
|
|
{ "at90pwm216", ARCH_AVR5, "__AVR_AT90PWM216__", 0, 0x0100, "90pwm216" },
|
|
diff -ur gcc-4.5.0-clean/gcc/config/avr/t-avr gcc-4.5.0/gcc/config/avr/t-avr
|
|
--- gcc-4.5.0-clean/gcc/config/avr/t-avr 2009-12-25 07:32:38.000000000 +1100
|
|
+++ gcc-4.5.0/gcc/config/avr/t-avr 2010-07-09 23:05:26.000000000 +1000
|
|
@@ -81,16 +81,23 @@
|
|
mmcu?avr25=mmcu?attiny13 \
|
|
mmcu?avr25=mmcu?attiny13a \
|
|
mmcu?avr25=mmcu?attiny2313 \
|
|
+ mmcu?avr25=mmcu?attiny2313a \
|
|
mmcu?avr25=mmcu?attiny24 \
|
|
- mmcu?avr25=mmcu?attiny44 \
|
|
- mmcu?avr25=mmcu?attiny84 \
|
|
+ mmcu?avr25=mmcu?attiny24a \
|
|
mmcu?avr25=mmcu?attiny25 \
|
|
- mmcu?avr25=mmcu?attiny45 \
|
|
- mmcu?avr25=mmcu?attiny85 \
|
|
mmcu?avr25=mmcu?attiny261 \
|
|
+ mmcu?avr25=mmcu?attiny261a \
|
|
+ mmcu?avr25=mmcu?attiny4313 \
|
|
+ mmcu?avr25=mmcu?attiny43u \
|
|
+ mmcu?avr25=mmcu?attiny44 \
|
|
+ mmcu?avr25=mmcu?attiny44a \
|
|
+ mmcu?avr25=mmcu?attiny45 \
|
|
mmcu?avr25=mmcu?attiny461 \
|
|
+ mmcu?avr25=mmcu?attiny461a \
|
|
+ mmcu?avr25=mmcu?attiny84 \
|
|
+ mmcu?avr25=mmcu?attiny85 \
|
|
mmcu?avr25=mmcu?attiny861 \
|
|
- mmcu?avr25=mmcu?attiny43u \
|
|
+ mmcu?avr25=mmcu?attiny861a \
|
|
mmcu?avr25=mmcu?attiny87 \
|
|
mmcu?avr25=mmcu?attiny48 \
|
|
mmcu?avr25=mmcu?attiny88 \
|
|
@@ -107,12 +114,15 @@
|
|
mmcu?avr35=mmcu?attiny167 \
|
|
mmcu?avr35=mmcu?attiny327 \
|
|
mmcu?avr4=mmcu?atmega48 \
|
|
+ mmcu?avr4=mmcu?atmega48a \
|
|
mmcu?avr4=mmcu?atmega48p \
|
|
mmcu?avr4=mmcu?atmega8 \
|
|
mmcu?avr4=mmcu?atmega8515 \
|
|
mmcu?avr4=mmcu?atmega8535 \
|
|
mmcu?avr4=mmcu?atmega88 \
|
|
+ mmcu?avr4=mmcu?atmega88a \
|
|
mmcu?avr4=mmcu?atmega88p \
|
|
+ mmcu?avr4=mmcu?atmega88pa \
|
|
mmcu?avr4=mmcu?atmega8hva \
|
|
mmcu?avr4=mmcu?atmega4hvd \
|
|
mmcu?avr4=mmcu?atmega8hvd \
|
|
@@ -125,16 +135,21 @@
|
|
mmcu?avr4=mmcu?at90pwm3b \
|
|
mmcu?avr4=mmcu?at90pwm81 \
|
|
mmcu?avr5=mmcu?atmega16 \
|
|
+ mmcu?avr5=mmcu?atmega16a \
|
|
mmcu?avr5=mmcu?atmega161 \
|
|
mmcu?avr5=mmcu?atmega162 \
|
|
mmcu?avr5=mmcu?atmega163 \
|
|
+ mmcu?avr5=mmcu?atmega164a \
|
|
mmcu?avr5=mmcu?atmega164p \
|
|
mmcu?avr5=mmcu?atmega165 \
|
|
+ mmcu?avr5=mmcu?atmega165a \
|
|
mmcu?avr5=mmcu?atmega165p \
|
|
mmcu?avr5=mmcu?atmega168 \
|
|
mmcu?avr5=mmcu?atmega168p \
|
|
mmcu?avr5=mmcu?atmega169 \
|
|
+ mmcu?avr5=mmcu?atmega169a \
|
|
mmcu?avr5=mmcu?atmega169p \
|
|
+ mmcu?avr5=mmcu?atmega169pa \
|
|
mmcu?avr5=mmcu?atmega32 \
|
|
mmcu?avr5=mmcu?atmega323 \
|
|
mmcu?avr5=mmcu?atmega324p \
|
|
@@ -142,21 +157,35 @@
|
|
mmcu?avr5=mmcu?atmega325p \
|
|
mmcu?avr5=mmcu?atmega3250 \
|
|
mmcu?avr5=mmcu?atmega3250p \
|
|
+ mmcu?avr5=mmcu?atmega328 \
|
|
mmcu?avr5=mmcu?atmega328p \
|
|
mmcu?avr5=mmcu?atmega329 \
|
|
mmcu?avr5=mmcu?atmega329p \
|
|
+ mmcu?avr5=mmcu?atmega329pa \
|
|
mmcu?avr5=mmcu?atmega3290 \
|
|
mmcu?avr5=mmcu?atmega3290p \
|
|
+ mmcu?avr5=mmcu?atmega32hvb \
|
|
mmcu?avr5=mmcu?atmega406 \
|
|
mmcu?avr5=mmcu?atmega64 \
|
|
mmcu?avr5=mmcu?atmega640 \
|
|
mmcu?avr5=mmcu?atmega644 \
|
|
+ mmcu?avr5=mmcu?atmega644a \
|
|
mmcu?avr5=mmcu?atmega644p \
|
|
+ mmcu?avr5=mmcu?atmega644pa \
|
|
mmcu?avr5=mmcu?atmega645 \
|
|
+ mmcu?avr5=mmcu?atmega645a \
|
|
+ mmcu?avr5=mmcu?atmega645p \
|
|
mmcu?avr5=mmcu?atmega6450 \
|
|
+ mmcu?avr5=mmcu?atmega6450a \
|
|
+ mmcu?avr5=mmcu?atmega6450p \
|
|
mmcu?avr5=mmcu?atmega649 \
|
|
+ mmcu?avr5=mmcu?atmega649a \
|
|
+ mmcu?avr5=mmcu?atmega649p \
|
|
mmcu?avr5=mmcu?atmega6490 \
|
|
+ mmcu?avr5=mmcu?atmega6490a \
|
|
+ mmcu?avr5=mmcu?atmega6490p \
|
|
mmcu?avr5=mmcu?atmega16hva \
|
|
+ mmcu?avr5=mmcu?atmega16hva2 \
|
|
mmcu?avr5=mmcu?atmega16hvb \
|
|
mmcu?avr5=mmcu?atmega32hvb \
|
|
mmcu?avr5=mmcu?at90can32 \
|
|
@@ -172,6 +201,7 @@
|
|
mmcu?avr5=mmcu?atmega16u4 \
|
|
mmcu?avr5=mmcu?atmega32u4 \
|
|
mmcu?avr5=mmcu?atmega32u6 \
|
|
+ mmcu?avr5=mmcu?atmega64hve \
|
|
mmcu?avr5=mmcu?at90scr100 \
|
|
mmcu?avr5=mmcu?at90usb646 \
|
|
mmcu?avr5=mmcu?at90usb647 \
|