From 1ce51d9a8d54c2b2fafb232060bf9f28629a29e6 Mon Sep 17 00:00:00 2001 From: Georg-Johann Lay Date: Mon, 18 Nov 2019 08:19:08 +0000 Subject: [PATCH] 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 --- gcc/config/avr/gen-avr-mmcu-specs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/avr/gen-avr-mmcu-specs.c b/gcc/config/avr/gen-avr-mmcu-specs.c index 0059a53..f629db4 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"); } -- 2.7.4