* config/avr/avr.c (avr_current_arch): New variable.
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 15:07:09 +0000 (15:07 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 23 Jan 2008 15:07:09 +0000 (15:07 +0000)
commitb1eb5c8335655485911ac0d6dec83458556635ba
tree5e7464097d1e0e77e22f54b81f9c68a127175b97
parent46beef9ad81b266b165bc5919ed5771dc915545e
* 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
gcc/ChangeLog
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/t-avr