From: Eric B. Weddington Date: Tue, 17 Jun 2008 17:30:31 +0000 (+0000) Subject: avr.c (avr_mcu_t): Add attiny167. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e416eb8f028f20ae4eb1f7b7beeee64715c342d8;p=gcc.git avr.c (avr_mcu_t): Add attiny167. * config/avr/avr.c (avr_mcu_t): Add attiny167. * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. * gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise. From-SVN: r136870 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ec81fd32fae..f083a8dc6a3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2008-06-17 Eric B. Weddington + + * config/avr/avr.c (avr_mcu_t): Add attiny167. + * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): Likewise. + * gcc/config/avr/t-avr (MULTILIB_MATCHES): Likewise. + 2008-06-17 Eric B. Weddington * config/avr/avr.c (avr_mcu_t): Add atmega32u4. diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c index 1c9fcc2a370..36a59a2c551 100644 --- a/gcc/config/avr/avr.c +++ b/gcc/config/avr/avr.c @@ -199,6 +199,7 @@ static const struct mcu_type_s avr_mcu_types[] = { { "avr35", ARCH_AVR35, NULL }, { "at90usb82", ARCH_AVR35, "__AVR_AT90USB82__" }, { "at90usb162", ARCH_AVR35, "__AVR_AT90USB162__" }, + { "attiny167", ARCH_AVR35, "__AVR_ATtiny167__" }, /* Enhanced, <= 8K. */ { "avr4", ARCH_AVR4, NULL }, { "atmega8", ARCH_AVR4, "__AVR_ATmega8__" }, diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h index 66e10d4fa41..5e5f932512d 100644 --- a/gcc/config/avr/avr.h +++ b/gcc/config/avr/avr.h @@ -828,7 +828,8 @@ mmcu=*:-mmcu=%*}" mmcu=at43*|\ mmcu=at76*|\ mmcu=at90usb82|\ - mmcu=at90usb162: -m avr3}\ + mmcu=at90usb162|\ + mmcu=attiny167: -m avr3}\ %{mmcu=atmega8*|\ mmcu=atmega48*|\ mmcu=at90pwm1|\ @@ -871,6 +872,7 @@ mmcu=*:-mmcu=%*}" mmcu=atmega32hvb|\ mmcu=attiny48|\ mmcu=attiny88|\ + mmcu=attiny167|\ mmcu=at90can*|\ mmcu=at90pwm*|\ mmcu=atmega32c1|\ @@ -928,6 +930,7 @@ mmcu=*:-mmcu=%*}" %{mmcu=attiny43u:crttn43u.o%s} \ %{mmcu=attiny48:crttn48.o%s} \ %{mmcu=attiny88:crttn88.o%s} \ +%{mmcu=attiny167:crttn167.o%s} \ %{mmcu=at43usb320|mmcu=avr3:crt43320.o%s} \ %{mmcu=at43usb355:crt43355.o%s} \ %{mmcu=at76c711:crt76711.o%s} \ diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index 644df9a9a57..08e540955c0 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -63,6 +63,7 @@ MULTILIB_MATCHES = \ mmcu?avr31=mmcu?atmega103 \ mmcu?avr35=mmcu?at90usb82 \ mmcu?avr35=mmcu?at90usb162 \ + mmcu?avr35=mmcu?attiny167 \ mmcu?avr4=mmcu?atmega48 \ mmcu?avr4=mmcu?atmega48p \ mmcu?avr4=mmcu?atmega8 \