From: Georg-Johann Lay Date: Mon, 18 Nov 2019 08:19:08 +0000 (+0000) Subject: re PR target/92545 (avr: support ATmega devices from the 0-series) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1ce51d9a8d54c2b2fafb232060bf9f28629a29e6;p=gcc.git re PR target/92545 (avr: support ATmega devices from the 0-series) PR target/92545 * config/avr/gen-avr-mmcu-specs.c (print_mcu) [link_pm_base_address]: Symbol name is __RODATA_PM_OFFSET__. From-SVN: r278389 --- diff --git a/gcc/config/avr/gen-avr-mmcu-specs.c b/gcc/config/avr/gen-avr-mmcu-specs.c index 0059a5399f2..f629db4e8a2 100644 --- a/gcc/config/avr/gen-avr-mmcu-specs.c +++ b/gcc/config/avr/gen-avr-mmcu-specs.c @@ -274,7 +274,7 @@ print_mcu (const avr_mcu_t *mcu) && flash_pm_offset) { fprintf (f, "*link_pm_base_address:\n"); - fprintf (f, "\t--defsym=__RODATA_PM_OFFSET=0x%x", flash_pm_offset); + fprintf (f, "\t--defsym=__RODATA_PM_OFFSET__=0x%x", flash_pm_offset); fprintf (f, "\n\n"); }