diff options
author | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-23 15:07:09 +0000 |
---|---|---|
committer | aesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-01-23 15:07:09 +0000 |
commit | b1eb5c8335655485911ac0d6dec83458556635ba (patch) | |
tree | 5e7464097d1e0e77e22f54b81f9c68a127175b97 /gcc/config/avr/t-avr | |
parent | 46beef9ad81b266b165bc5919ed5771dc915545e (diff) | |
download | gcc-b1eb5c8335655485911ac0d6dec83458556635ba.tar.gz |
* config/avr/avr.c (avr_current_arch): New variable.
(avr_arch_types): Add 'avr31' and 'avr51' entries.
(avr_arch): Add 'ARCH_AVR31' and 'ARCH_AVR51'.
(avr_mcu_types): Add 'avr31' and 'avr51' architectures.
(avr_override_options): Init 'avr_current_arch'.
(base_arch_s): Move from here...
* config/avr/avr.h (base_arch_s): ... here. Add new members
'have_elpm', 'have_elpmx', 'have_eijmp_eicall', 'reserved'. Rename
'mega' to 'have_jmp_call'.
(TARGET_CPU_CPP_BUILTINS): Define "__AVR_HAVE_JMP_CALL__",
"__AVR_HAVE_RAMPZ__", "__AVR_HAVE_ELPM__" and "__AVR_HAVE_ELPMX__"
macros.
(LINK_SPEC, CRT_BINUTILS_SPECS, ASM_SPEC): Add 'avr31' and 'avr51'
architectures.
* config/avr/t-avr (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
MULTILIB_MATCHES): (Ditto.).
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131759 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/avr/t-avr')
-rw-r--r-- | gcc/config/avr/t-avr | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/gcc/config/avr/t-avr b/gcc/config/avr/t-avr index f16a5286b26..0cafe4f6c98 100644 --- a/gcc/config/avr/t-avr +++ b/gcc/config/avr/t-avr @@ -37,8 +37,8 @@ fp-bit.c: $(srcdir)/config/fp-bit.c $(srcdir)/config/avr/t-avr FPBIT = fp-bit.c -MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr35/mmcu=avr4/mmcu=avr5 -MULTILIB_DIRNAMES = avr2 avr25 avr3 avr35 avr4 avr5 +MULTILIB_OPTIONS = mmcu=avr2/mmcu=avr25/mmcu=avr3/mmcu=avr31/mmcu=avr35/mmcu=avr4/mmcu=avr5/mmcu=avr51 +MULTILIB_DIRNAMES = avr2 avr25 avr3 avr31 avr35 avr4 avr5 avr51 # The many avr2 matches are not listed here - this is the default. MULTILIB_MATCHES = \ @@ -57,10 +57,10 @@ MULTILIB_MATCHES = \ mmcu?avr25=mmcu?attiny48 \ mmcu?avr25=mmcu?attiny88 \ mmcu?avr25=mmcu?at86rf401 \ - mmcu?avr3=mmcu?atmega103 \ mmcu?avr3=mmcu?at43usb320 \ mmcu?avr3=mmcu?at43usb355 \ mmcu?avr3=mmcu?at76c711 \ + mmcu?avr31=mmcu?atmega103 \ mmcu?avr35=mmcu?at90usb82 \ mmcu?avr35=mmcu?at90usb162 \ mmcu?avr4=mmcu?atmega48 \ @@ -109,21 +109,21 @@ MULTILIB_MATCHES = \ mmcu?avr5=mmcu?atmega6450 \ mmcu?avr5=mmcu?atmega649 \ mmcu?avr5=mmcu?atmega6490 \ - mmcu?avr5=mmcu?atmega128 \ - mmcu?avr5=mmcu?atmega1280 \ - mmcu?avr5=mmcu?atmega1281 \ - mmcu?avr5=mmcu?atmega1284p \ mmcu?avr5=mmcu?atmega16hva \ mmcu?avr5=mmcu?at90can32 \ mmcu?avr5=mmcu?at90can64 \ - mmcu?avr5=mmcu?at90can128 \ mmcu?avr5=mmcu?at90pwm216 \ mmcu?avr5=mmcu?at90pwm316 \ mmcu?avr5=mmcu?at90usb646 \ mmcu?avr5=mmcu?at90usb647 \ - mmcu?avr5=mmcu?at90usb1286 \ - mmcu?avr5=mmcu?at90usb1287 \ - mmcu?avr5=mmcu?at94k + mmcu?avr5=mmcu?at94k \ + mmcu?avr51=mmcu?atmega128 \ + mmcu?avr51=mmcu?atmega1280 \ + mmcu?avr51=mmcu?atmega1281 \ + mmcu?avr51=mmcu?atmega1284p \ + mmcu?avr51=mmcu?at90can128 \ + mmcu?avr51=mmcu?at90usb1286 \ + mmcu?avr51=mmcu?at90usb1287 MULTILIB_EXCEPTIONS = |