]> git.pld-linux.org Git - packages/crossavr-gcc.git/blob - 410-gcc-4.5.1-atxmega128a4u.patch
- undos sources before patching.
[packages/crossavr-gcc.git] / 410-gcc-4.5.1-atxmega128a4u.patch
1 diff -Naurp gcc/config/avr/avr-devices.c gcc/config/avr/avr-devices.c
2 --- gcc/config/avr/avr-devices.c        2011-09-02 12:31:10.000000000 +0300
3 +++ gcc/config/avr/avr-devices.c        2011-09-02 12:30:51.000000000 +0300
4 @@ -295,6 +295,7 @@ const struct mcu_type_s avr_mcu_types[] 
5    { "avrxmega7",    ARCH_AVRXMEGA7, NULL,                           0, 0x2000, "x128a1" },
6    { "atxmega128a1", ARCH_AVRXMEGA7, "__AVR_ATxmega128A1__",         0, 0x2000, "x128a1" },
7    { "atxmega128a1u", ARCH_AVRXMEGA7, "__AVR_ATxmega128A1U__",       0, 0x2000, "x128a1u" },
8 +  { "atxmega128a4u", ARCH_AVRXMEGA7, "__AVR_ATxmega128A4U__",       0, 0x2000, "x128a4u" },
9         /* tiny10 family */
10    { "avrtiny10",   ARCH_AVRTINY10, NULL,                            0, 0x0040, "tn10" },
11    { "attiny4",     ARCH_AVRTINY10, "__AVR_ATtiny4__",               0, 0x0040, "tn4" },
12 diff -Naurp gcc/config/avr/t-avr gcc/config/avr/t-avr
13 --- gcc/config/avr/t-avr        2011-09-02 12:31:10.000000000 +0300
14 +++ gcc/config/avr/t-avr        2011-09-02 12:30:51.000000000 +0300
15 @@ -300,6 +300,7 @@ MULTILIB_MATCHES = \
16         mmcu?avrxmega6=mmcu?atxmega384c3 \
17         mmcu?avrxmega7=mmcu?atxmega128a1 \
18         mmcu?avrxmega7=mmcu?atxmega128a1u \
19 +       mmcu?avrxmega7=mmcu?atxmega128a4u \
20         mmcu?avrtiny10=mmcu?attiny4 \
21         mmcu?avrtiny10=mmcu?attiny5 \
22         mmcu?avrtiny10=mmcu?attiny9 \
This page took 0.062718 seconds and 3 git commands to generate.