diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2013-01-14 18:09:34 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2013-01-14 18:09:34 +0000 |
commit | 1c494c6a0fef59c2a5c68766572398f897195a2f (patch) | |
tree | 587d3288cd2d90280deaa501f0d318ebbe30affe /gcc/config/avr/avr-devices.c | |
parent | a50344cbf3ba75fd3ff5b089b46f58e7050290ee (diff) | |
download | gcc-1c494c6a0fef59c2a5c68766572398f897195a2f.zip gcc-1c494c6a0fef59c2a5c68766572398f897195a2f.tar.gz gcc-1c494c6a0fef59c2a5c68766572398f897195a2f.tar.bz2 |
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
Diffstat (limited to 'gcc/config/avr/avr-devices.c')
-rw-r--r-- | gcc/config/avr/avr-devices.c | 12 |
1 files changed, 7 insertions, 5 deletions
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. */ |