Graceful degrade if Binutils PR21472 is not available.
authorGeorg-Johann Lay <avr@gjlay.de>
Wed, 5 Jul 2017 13:57:28 +0000 (13:57 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Wed, 5 Jul 2017 13:57:28 +0000 (13:57 +0000)
commit98f9d0ca902c48b58d3d9adee53c3a1800fd3e6d
treeb40fcdc59b02e071b810915d50a83ea9a4ea7524
parente60226ffa0cc0eff39141a4954a506484c17fda4
Graceful degrade if Binutils PR21472 is not available.

gcc/
Graceful degrade if Binutils PR21472 is not available.
PR target/81072
* configure.ac [target=avr]: WARN instead of ERROR if avrxmega3
.rodata in flash test fails.
(HAVE_LD_AVR_AVRXMEGA3_RODATA_IN_FLASH): Define it if test passes.
* confgure: Regenerate.
* config.in: Regenerate.
* config/avr/avr.c (avr_asm_named_section)
[HAVE_LD_AVR_AVRXMEGA3_RODATA_IN_FLASH]: Only trigger
__do_copy_data for stuff in .rodata if flash_pm_offset = 0.
(avr_asm_init_sections): Same.

From-SVN: r250000
gcc/ChangeLog
gcc/config.in
gcc/config/avr/avr.c
gcc/configure
gcc/configure.ac