]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
backport: re PR target/54536 ([avr]: incorrect crt with -mmcu=at90usb1287)
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 10 Sep 2012 10:51:13 +0000 (10:51 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 10 Sep 2012 10:51:13 +0000 (10:51 +0000)
Backport from 2012-09-10 mainline r191132.

PR target/54536
* config/avr/avr-devices.c (avr_mcu_types["at90usb1287"]): Set
.library_name to "usb1287".

From-SVN: r191134

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

index bf56b1f62607af3201abc23f76d1904ceca6a44c..8ff1ac63ccc39a344a133421af8b7210982af94c 100644 (file)
@@ -1,3 +1,11 @@
+2012-09-10  Georg-Johann Lay  <avr@gjlay.de>
+
+       Backport from 2012-09-10 mainline r191132.
+       
+       PR target/54536
+       * config/avr/avr-devices.c (avr_mcu_types["at90usb1287"]): Set
+       .library_name to "usb1287".
+
 2012-09-10  Markus Trippelsdorf  <markus@trippelsdorf.de>
 
        PR middle-end/54515
index b565a603ae94db855b22870ade4312e672a2c3a6..91ca95e0f9e22430410d1de45ca24eddcd3596ba 100755 (executable)
@@ -211,7 +211,7 @@ const struct mcu_type_s avr_mcu_types[] = {
   { "atmega128rfa1",        ARCH_AVR51, "__AVR_ATmega128RFA1__",    0, 0x0200, "m128rfa1" },
   { "at90can128",           ARCH_AVR51, "__AVR_AT90CAN128__",       0, 0x0100, "can128" },
   { "at90usb1286",          ARCH_AVR51, "__AVR_AT90USB1286__",      0, 0x0100, "usb1286" },
-  { "at90usb1287",          ARCH_AVR51, "__AVR_AT90USB1287__",      0, 0x0100, "usb1286" },
+  { "at90usb1287",          ARCH_AVR51, "__AVR_AT90USB1287__",      0, 0x0100, "usb1287" },
     /* 3-Byte PC.  */
   { "avr6",                 ARCH_AVR6, NULL,                        0, 0x0200, "m2561" },
   { "atmega2560",           ARCH_AVR6, "__AVR_ATmega2560__",        0, 0x0200, "m2560" },