* config.gcc (avr-*-rtems*, avr-*-*): Set extra_gcc_objs and
authoraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jun 2009 19:14:11 +0000 (19:14 +0000)
committeraesok <aesok@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 23 Jun 2009 19:14:11 +0000 (19:14 +0000)
commit795cff4253aded52a757cab90d95e5fec883af95
tree32802b739934030c58f3589d23ed35b2f3eaede3
parentbea3ea0577b5c0268492615d8d6411aab7694f73
* config.gcc (avr-*-rtems*, avr-*-*): Set extra_gcc_objs and
extra_objs.
* config/avr/avr.c (avr_current_device): New variable.
(avr_arch_types, avr_mcu_types): Move to avr-deveces.c.
(avr_arch, mcu_type_s): Move to avr.h.
* config/avr/avr.h (base_arch_s). Add reserved2, arch_name and
default_data_section_start fields.
(avr_arch): Moved from avr.c.
(mcu_type_s): Moved from avr.c. Add short_sp, data_section_start and
library_name fields.
(avr_current_device, avr_mcu_types, avr_arch_types,
avr_device_to_arch, avr_device_to_data_start,
avr_device_to_startfiles, avr_device_to_devicelib): Declare.
(EXTRA_SPEC_FUNCTIONS): Define.
(LINK_SPEC): Remove device name to '-m ...' and '-Tdata ...' linker
options mapping. Use device_to_arch and device_to_data_start insted.
(STARTFILE_SPEC): Use device_to_startfile instead of crt_binutils.
(CRT_BINUTILS_SPECS, EXTRA_SPECS): Remove.
* config/avr/t-avr (driver-avr.o, avr-devices.o): New rules.
* config/avr/driver-avr.c: New file.
* config/avr/avr-devices.c: New file.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@148868 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config.gcc
gcc/config/avr/avr-devices.c [new file with mode: 0755]
gcc/config/avr/avr.c
gcc/config/avr/avr.h
gcc/config/avr/driver-avr.c [new file with mode: 0755]
gcc/config/avr/t-avr