]> git.pld-linux.org Git - packages/crossavr-gcc.git/blobdiff - 417-gcc-4.5.1-atxmega64a4u.patch
- synchronized patches with Atmel official AVR8-GNU toolchain.
[packages/crossavr-gcc.git] / 417-gcc-4.5.1-atxmega64a4u.patch
diff --git a/417-gcc-4.5.1-atxmega64a4u.patch b/417-gcc-4.5.1-atxmega64a4u.patch
new file mode 100644 (file)
index 0000000..004fc3a
--- /dev/null
@@ -0,0 +1,22 @@
+diff -Naurp gcc/config/avr/avr-devices.c gcc/config/avr/avr-devices.c
+--- gcc/config/avr/avr-devices.c       2011-09-12 14:07:28.000000000 +0300
++++ gcc/config/avr/avr-devices.c       2011-09-12 14:29:05.000000000 +0300
+@@ -279,6 +279,7 @@ const struct mcu_type_s avr_mcu_types[] 
+   { "avrxmega4",    ARCH_AVRXMEGA4, NULL,                           0, 0x2000, "x64d3" },
+   { "atxmega64a3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64A3__",          0, 0x2000, "x64a3" },
+   { "atxmega64a3u", ARCH_AVRXMEGA4, "__AVR_ATxmega64A3U__",         0, 0x2000, "x64a3u"},
++  { "atxmega64a4u", ARCH_AVRXMEGA4, "__AVR_ATxmega64A4U__",         0, 0x2000, "x64a4u"},
+   { "atxmega64b1",  ARCH_AVRXMEGA4, "__AVR_ATxmega64B1__",          0, 0x2000, "x64b1" },
+   { "atxmega64b3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64B3__",          0, 0x2000, "x64b3"},
+   { "atxmega64d3",  ARCH_AVRXMEGA4, "__AVR_ATxmega64D3__",          0, 0x2000, "x64d3" },
+diff -Naurp gcc/config/avr/t-avr gcc/config/avr/t-avr
+--- gcc/config/avr/t-avr       2011-09-12 14:07:28.000000000 +0300
++++ gcc/config/avr/t-avr       2011-09-12 14:29:05.000000000 +0300
+@@ -290,6 +290,7 @@ MULTILIB_MATCHES = \
+       mmcu?avrxmega2=mmcu?atxmega32x1 \
+       mmcu?avrxmega4=mmcu?atxmega64a3 \
+       mmcu?avrxmega4=mmcu?atxmega64a3u \
++      mmcu?avrxmega4=mmcu?atxmega64a4u \
+       mmcu?avrxmega4=mmcu?atxmega64b1 \
+       mmcu?avrxmega4=mmcu?atxmega64b3 \
+       mmcu?avrxmega4=mmcu?atxmega64d3 \
This page took 0.067909 seconds and 4 git commands to generate.