diff options
author | Georg-Johann Lay <avr@gjlay.de> | 2011-08-01 15:35:45 +0000 |
---|---|---|
committer | Georg-Johann Lay <gjl@gcc.gnu.org> | 2011-08-01 15:35:45 +0000 |
commit | f2c308fa3f227cc7b46aa2d1250043aeeaef7ee6 (patch) | |
tree | 4a836a2847b3417e0b24a839b4a24c0ba6128fd1 /gcc/config/avr/avr-devices.c | |
parent | daec8eebdb7a3cfd3e59771455d24fac9adb151e (diff) | |
download | gcc-f2c308fa3f227cc7b46aa2d1250043aeeaef7ee6.zip gcc-f2c308fa3f227cc7b46aa2d1250043aeeaef7ee6.tar.gz gcc-f2c308fa3f227cc7b46aa2d1250043aeeaef7ee6.tar.bz2 |
avr.h (mcu_type_s): Add errata_skip field.
* config/avr/avr.h (mcu_type_s): Add errata_skip field.
* config/avr/avr-devices.c (avr_mcu_types): Use it.
* config/avr/avr-mcus.def (AVR_MCU): Use it.
* config/avr/avr-c.c (avr_cpu_cpp_builtins): Use it to builtin
define __AVR_ERRATA_SKIP__ and __AVR_ERRATA_SKIP_JMP_CALL__.
* config/avr/libgcc.S (__mulshisi3, __ffshi2, __fmulsu_exit):
Use __AVR_ERRATA_SKIP_JMP_CALL__ instead of __AVR_HAVE_JMP_CALL__
to detect if XJMP must not be skipped.
From-SVN: r177049
Diffstat (limited to 'gcc/config/avr/avr-devices.c')
-rw-r--r-- | gcc/config/avr/avr-devices.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/config/avr/avr-devices.c b/gcc/config/avr/avr-devices.c index bc326e3..d0dda85 100644 --- a/gcc/config/avr/avr-devices.c +++ b/gcc/config/avr/avr-devices.c @@ -40,11 +40,11 @@ const struct base_arch_s avr_arch_types[] = { }; const struct mcu_type_s avr_mcu_types[] = { -#define AVR_MCU(NAME, ARCH, MACRO, SHORT_SP, DATA_SEC, LIBRARY_NAME) \ - { NAME, ARCH, MACRO, SHORT_SP, DATA_SEC, LIBRARY_NAME }, +#define AVR_MCU(NAME, ARCH, MACRO, SHORT_SP, ERRATA_SKIP, DATA_SEC, LIBRARY_NAME) \ + { NAME, ARCH, MACRO, SHORT_SP, ERRATA_SKIP, DATA_SEC, LIBRARY_NAME }, #include "avr-mcus.def" #undef AVR_MCU /* End of list. */ - { NULL, ARCH_UNKNOWN, NULL, 0, 0, NULL } + { NULL, ARCH_UNKNOWN, NULL, 0, 0, 0, NULL } }; |