avr.h (mcu_type_s): Add errata_skip field.
authorGeorg-Johann Lay <avr@gjlay.de>
Mon, 1 Aug 2011 15:35:45 +0000 (15:35 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 1 Aug 2011 15:35:45 +0000 (15:35 +0000)
commitf2c308fa3f227cc7b46aa2d1250043aeeaef7ee6
tree4a836a2847b3417e0b24a839b4a24c0ba6128fd1
parentdaec8eebdb7a3cfd3e59771455d24fac9adb151e
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
gcc/ChangeLog
gcc/config/avr/avr-c.c
gcc/config/avr/avr-devices.c
gcc/config/avr/avr-mcus.def
gcc/config/avr/avr.h
gcc/config/avr/libgcc.S