Ticket #17524: patch-avr-config-unknown-mcu.diff
File patch-avr-config-unknown-mcu.diff, 576 bytes (added by lars@…, 14 years ago) |
---|
-
gcc/config/avr/avr.c
old new 206 206 break; 207 207 208 208 if (!t->name) 209 { 210 fprintf (stderr, "unknown MCU '%s' specified\nKnown MCU names:\n", 211 avr_mcu_name); 212 for (t = avr_mcu_types; t->name; t++) 213 fprintf (stderr," %s\n", t->name); 214 } 209 error ("Unknown MCU %qs specified. See --target-help for " 210 "known MCU names.", avr_mcu_name); 215 211 216 212 avr_current_device = t; 217 213 avr_current_arch = &avr_arch_types[avr_current_device->arch];