From 1c494c6a0fef59c2a5c68766572398f897195a2f Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Mon, 14 Jan 2013 18:09:34 +0000 Subject: avr-arch.h (struct base_arch_s): Use typedef avr_arch_t instead. * config/avr/avr-arch.h (struct base_arch_s): Use typedef avr_arch_t instead. (struct arch_info_s): Use typedef avr_arch_info_t instead. (struct mcu_type_s): Use typedef avr_mcu_t instead. * config/avr/avr.c: Same. * config/avr/avr-devices.c: Same. * config/avr/driver-avr.c: Same. * config/avr/gen-avr-mmcu-texi.c: Same. * config/avr/avr-mcus.def: Adjust comment. From-SVN: r195160 --- gcc/config/avr/avr-devices.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'gcc/config/avr/avr-devices.c') diff --git a/gcc/config/avr/avr-devices.c b/gcc/config/avr/avr-devices.c index 6fa700b..48a9523 100644 --- a/gcc/config/avr/avr-devices.c +++ b/gcc/config/avr/avr-devices.c @@ -27,7 +27,7 @@ /* List of all known AVR MCU architectures. Order as of enum avr_arch from avr.h. */ -const struct base_arch_s +const avr_arch_t avr_arch_types[] = { /* unknown device specified */ @@ -56,7 +56,7 @@ avr_arch_types[] = { 0, 1, 1, 1, 1, 1, 1, 1, 1, 0x2000, 0, "107", "avrxmega7" } }; -const struct arch_info_s +const avr_arch_info_t avr_texinfo[] = { { ARCH_AVR1, @@ -101,9 +101,11 @@ avr_texinfo[] = "and more than 64@tie{}KiB of RAM." } }; -const struct mcu_type_s avr_mcu_types[] = { -#define AVR_MCU(NAME,ARCH,MACRO,SHORT_SP,ERRATA_SKIP,DATA_SEC,N_FLASH,LIB_NAME)\ - { NAME, ARCH, MACRO, SHORT_SP, ERRATA_SKIP, DATA_SEC, N_FLASH, LIB_NAME }, +const avr_mcu_t +avr_mcu_types[] = +{ +#define AVR_MCU(NAME, ARCH, MACRO, SP8, ERR_SKIP, DATA_SEC, N_FLASH, LIBNAME)\ + { NAME, ARCH, MACRO, SP8, ERR_SKIP, DATA_SEC, N_FLASH, LIBNAME }, #include "avr-mcus.def" #undef AVR_MCU /* End of list. */ -- cgit v1.1