[Bug target/81072] [avr] Support some XMEGA devices with flash seen in RAM address space.
gjl at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Wed Jul 5 13:58:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81072
--- Comment #4 from Georg-Johann Lay <gjl at gcc dot gnu.org> ---
Author: gjl
Date: Wed Jul 5 13:57:28 2017
New Revision: 250000
URL: https://gcc.gnu.org/viewcvs?rev=250000&root=gcc&view=rev
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config.in
trunk/gcc/config/avr/avr.c
trunk/gcc/configure
trunk/gcc/configure.ac
More information about the Gcc-bugs
mailing list