aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorEric B. Weddington <eweddington@cso.atmel.com>2007-10-17 18:41:32 +0000
committerAnatoly Sokolov <aesok@gcc.gnu.org>2007-10-17 22:41:32 +0400
commit59902acfbab53c78f3e779f0ba59e5158e66dcb6 (patch)
tree35be4d15e20bbe9f82863d66c87a7316cafb6019 /gcc
parent45d506995c103936a813742c700bc592a8c86a53 (diff)
downloadgcc-59902acfbab53c78f3e779f0ba59e5158e66dcb6.zip
gcc-59902acfbab53c78f3e779f0ba59e5158e66dcb6.tar.gz
gcc-59902acfbab53c78f3e779f0ba59e5158e66dcb6.tar.bz2
avr.c (avr_mcu_types): Add attiny48.
* config/avr/avr.c (avr_mcu_types): Add attiny48. * config/avr/avr.h (LINK_SPEC): Likewise. (CRT_BINUTILS_SPECS): Likewsie. * config/avr/t-avr (MULTILIB_MATCHES): Likewise. From-SVN: r129414
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/avr/avr.c1
-rw-r--r--gcc/config/avr/avr.h2
-rw-r--r--gcc/config/avr/t-avr1
4 files changed, 11 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0949b35..4515d3f 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,12 @@
2007-10-17 Eric B. Weddington <eweddington@cso.atmel.com>
+ * config/avr/avr.c (avr_mcu_types): Add attiny48.
+ * config/avr/avr.h (LINK_SPEC): Likewise.
+ (CRT_BINUTILS_SPECS): Likewsie.
+ * config/avr/t-avr (MULTILIB_MATCHES): Likewise.
+
+2007-10-17 Eric B. Weddington <eweddington@cso.atmel.com>
+
* config/avr/avr.c (avr_mcu_types): Add attiny43u.
* config/avr/avr.h (CRT_BINUTILS_SPECS): Likewsie.
* config/avr/t-avr (MULTILIB_MATCHES): Likewise.
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index d72512e..25e120e 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -189,6 +189,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "attiny461", ARCH_AVR25, "__AVR_ATtiny461__" },
{ "attiny861", ARCH_AVR25, "__AVR_ATtiny861__" },
{ "attiny43u", ARCH_AVR25, "__AVR_ATtiny43U__" },
+ { "attiny48", ARCH_AVR25, "__AVR_ATtiny48__" },
{ "at86rf401", ARCH_AVR25, "__AVR_AT86RF401__" },
/* Classic, > 8K. */
{ "avr3", ARCH_AVR3, NULL },
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index cc6e91b..4633ef1 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -794,6 +794,7 @@ mmcu=*:-mmcu=%*}"
mmcu=atmega169*|\
mmcu=atmega8hva|\
mmcu=atmega16hva|\
+ mmcu=attiny48|\
mmcu=at90can*|\
mmcu=at90pwm*|\
mmcu=at90usb*: -Tdata 0x800100}\
@@ -845,6 +846,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=attiny461:crttn461.o%s} \
%{mmcu=attiny861:crttn861.o%s} \
%{mmcu=attiny43u:crttn43u.o%s} \
+%{mmcu=attiny48:crttn48.o%s} \
%{mmcu=atmega103|mmcu=avr3:crtm103.o%s} \
%{mmcu=atmega603:crtm603.o%s} \
%{mmcu=at43usb320:crt43320.o%s} \
diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr
index 28e4e7c..96638e1 100644
--- a/gcc/config/avr/t-avr
+++ b/gcc/config/avr/t-avr
@@ -54,6 +54,7 @@ MULTILIB_MATCHES = \
mmcu?avr25=mmcu?attiny461 \
mmcu?avr25=mmcu?attiny861 \
mmcu?avr25=mmcu?attiny43u \
+ mmcu?avr25=mmcu?attiny48 \
mmcu?avr25=mmcu?at86rf401 \
mmcu?avr3=mmcu?atmega103 \
mmcu?avr3=mmcu?atmega603 \