summaryrefslogtreecommitdiffstats
path: root/gcc/config/avr
diff options
context:
space:
mode:
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-27 21:58:13 +0000
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>2007-11-27 21:58:13 +0000
commit0073d1e95f6809c8772ba42cfc8fe9f1757b98cc (patch)
tree68a805236f86535abf7e10678edd6a977a92c2a3 /gcc/config/avr
parentc4610908aa906d9c035fac6875fbb8a7c444d7f3 (diff)
downloadppe42-gcc-0073d1e95f6809c8772ba42cfc8fe9f1757b98cc.tar.gz
ppe42-gcc-0073d1e95f6809c8772ba42cfc8fe9f1757b98cc.zip
* config/avr/avr.c (avr_mcu_types): Add atmega32hvb.
* config/avr/avr.h (LINK_SPEC): Likewise. (CRT_BINUTILS_SPECS): Likewsie. * config/avr/t-avr (MULTILIB_MATCHES): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@130475 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/avr')
-rw-r--r--gcc/config/avr/avr.c1
-rw-r--r--gcc/config/avr/avr.h2
-rw-r--r--gcc/config/avr/t-avr1
3 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/avr/avr.c b/gcc/config/avr/avr.c
index f1cb54e7964..4abdf81fdbc 100644
--- a/gcc/config/avr/avr.c
+++ b/gcc/config/avr/avr.c
@@ -239,6 +239,7 @@ static const struct mcu_type_s avr_mcu_types[] = {
{ "atmega329p", ARCH_AVR5, "__AVR_ATmega329P__" },
{ "atmega3290", ARCH_AVR5, "__AVR_ATmega3290__" },
{ "atmega3290p", ARCH_AVR5, "__AVR_ATmega3290P__" },
+ { "atmega32hvb", ARCH_AVR5, "__AVR_ATmega32HVB__" },
{ "atmega406", ARCH_AVR5, "__AVR_ATmega406__" },
{ "atmega64", ARCH_AVR5, "__AVR_ATmega64__" },
{ "atmega640", ARCH_AVR5, "__AVR_ATmega640__" },
diff --git a/gcc/config/avr/avr.h b/gcc/config/avr/avr.h
index acf6b99d3da..583dcbde509 100644
--- a/gcc/config/avr/avr.h
+++ b/gcc/config/avr/avr.h
@@ -797,6 +797,7 @@ mmcu=*:-mmcu=%*}"
mmcu=atmega169*|\
mmcu=atmega8hva|\
mmcu=atmega16hva|\
+ mmcu=atmega32hvb|\
mmcu=attiny48|\
mmcu=attiny88|\
mmcu=at90can*|\
@@ -891,6 +892,7 @@ mmcu=*:-mmcu=%*}"
%{mmcu=atmega329p:crtm329p.o%s} \
%{mmcu=atmega3290:crtm3290.o%s} \
%{mmcu=atmega3290p:crtm3290p.o%s} \
+%{mmcu=atmega32hvb:crtm32hvb.o%s} \
%{mmcu=atmega406:crtm406.o%s} \
%{mmcu=atmega64:crtm64.o%s} \
%{mmcu=atmega640:crtm640.o%s} \
diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr
index a4332f33b47..e1273b514d8 100644
--- a/gcc/config/avr/t-avr
+++ b/gcc/config/avr/t-avr
@@ -97,6 +97,7 @@ MULTILIB_MATCHES = \
mmcu?avr5=mmcu?atmega329p \
mmcu?avr5=mmcu?atmega3290 \
mmcu?avr5=mmcu?atmega3290p \
+ mmcu?avr5=mmcu?atmega32hvb \
mmcu?avr5=mmcu?atmega406 \
mmcu?avr5=mmcu?atmega64 \
mmcu?avr5=mmcu?atmega640 \
OpenPOWER on IntegriCloud