Add support for AVR devices from the 0-series.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 18 Nov 2019 07:52:55 +0000 (07:52 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 18 Nov 2019 07:52:55 +0000 (07:52 +0000)
commit80b38f83f1f26163057a40a6e984244c5d59a0b8
tree6f4439d02de44bb35fd819c85e09a88af3117a98
parent586bbef191b4f804289fb5ffc0e7a1a5e525bc4b
Add support for AVR devices from the 0-series.

PR target/92545
* config/avr/avr-arch.h (avr_mcu_t) <flash_pm_offset>: New field.
* config/avr/avr-devices.c (avr_mcu_types): Adjust initializers.
* config/avr/avr-mcus.def (AVR_MCU): Add respective field.
* config/avr/specs.h (LINK_SPEC) <%(link_pm_base_address)>: Add.
* config/avr/gen-avr-mmcu-specs.c (print_mcu)
<*cpp, *cpp_mcu, *cpp_avrlibc, *link_pm_base_address>: Emit code
for spec definitions.
* doc/avr-mmcu.texi: Regenerate.

From-SVN: r278387
gcc/ChangeLog
gcc/config/avr/avr-arch.h
gcc/config/avr/avr-devices.c
gcc/config/avr/avr-mcus.def
gcc/config/avr/gen-avr-mmcu-specs.c
gcc/config/avr/gen-avr-mmcu-texi.c
gcc/config/avr/specs.h