re PR target/92545 (avr: support ATmega devices from the 0-series)
authorGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 18 Nov 2019 08:19:08 +0000 (08:19 +0000)
committerGeorg-Johann Lay <gjl@gcc.gnu.org>
Mon, 18 Nov 2019 08:19:08 +0000 (08:19 +0000)
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

index 0059a5399f2ea71a55ea73407074b1421c9b1df3..f629db4e8a26600376e9048466ce2b1b0d510bab 100644 (file)
@@ -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");
     }