avr.c (avr_mcu_types): Add at90pwm216, at90pwm316.

* config/avr/avr.c (avr_mcu_types): Add at90pwm216, at90pwm316.
	* config/avr/avr.h (LINK_SPEC): Likewise and remove regex for
	similar devices.
	(CRT_BINUTILS_SPECS): Likewsie.
	* config/avr/t-avr (MULTILIB_MATCHES): Likewise.

From-SVN: r129389
This commit is contained in:
Eric B. Weddington 2007-10-16 21:47:23 +00:00 committed by Anatoly Sokolov
parent 76d7d4dc88
commit 2bf374ab14
4 changed files with 19 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2007-10-16 Eric B. Weddington <eweddington@cso.atmel.com>
* config/avr/avr.c (avr_mcu_types): Add at90pwm216, at90pwm316.
* config/avr/avr.h (LINK_SPEC): Likewise and remove regex for
similar devices.
(CRT_BINUTILS_SPECS): Likewsie.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
2007-10-16 Amruth Laxman <amruth.laxman@nsn.com>
PR target/33594

View File

@ -246,6 +246,8 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "at90can32", ARCH_AVR5, "__AVR_AT90CAN32__" },
{ "at90can64", ARCH_AVR5, "__AVR_AT90CAN64__" },
{ "at90can128", ARCH_AVR5, "__AVR_AT90CAN128__" },
{ "at90pwm216", ARCH_AVR5, "__AVR_AT90PWM216__" },
{ "at90pwm316", ARCH_AVR5, "__AVR_AT90PWM316__" },
{ "at90usb82", ARCH_AVR5, "__AVR_AT90USB82__" },
{ "at90usb162", ARCH_AVR5, "__AVR_AT90USB162__" },
{ "at90usb646", ARCH_AVR5, "__AVR_AT90USB646__" },

View File

@ -763,13 +763,17 @@ mmcu=*:-mmcu=%*}"
mmcu=at76*:-m avr3}\
%{mmcu=atmega8*|\
mmcu=atmega48|\
mmcu=at90pwm*:-m avr4}\
mmcu=at90pwm1|\
mmcu=at90pwm2|\
mmcu=at90pwm3:-m avr4}\
%{mmcu=atmega16*|\
mmcu=atmega32*|\
mmcu=atmega406|\
mmcu=atmega64*|\
mmcu=atmega128*|\
mmcu=at90can*|\
mmcu=at90pwm216|\
mmcu=at90pwm316|\
mmcu=at90usb*|\
mmcu=at94k:-m avr5}\
%{mmcu=atmega324*|\
@ -891,6 +895,8 @@ mmcu=*:-mmcu=%*}"
%{mmcu=at90can32:crtcan32.o%s} \
%{mmcu=at90can64:crtcan64.o%s} \
%{mmcu=at90can128:crtcan128.o%s} \
%{mmcu=at90pwm216:crt90pwm216.o%s} \
%{mmcu=at90pwm316:crt90pwm316.o%s} \
%{mmcu=at90usb82:crtusb82.o%s} \
%{mmcu=at90usb162:crtusb162.o%s} \
%{mmcu=at90usb646:crtusb646.o%s} \

View File

@ -105,6 +105,8 @@ MULTILIB_MATCHES = \
mmcu?avr5=mmcu?at90can32 \
mmcu?avr5=mmcu?at90can64 \
mmcu?avr5=mmcu?at90can128 \
mmcu?avr5=mmcu?at90pwm216 \
mmcu?avr5=mmcu?at90pwm316 \
mmcu?avr5=mmcu?at90usb82 \
mmcu?avr5=mmcu?at90usb162 \
mmcu?avr5=mmcu?at90usb646 \