diff options
Diffstat (limited to 'core/nds32/ec.lds.S')
-rw-r--r-- | core/nds32/ec.lds.S | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/core/nds32/ec.lds.S b/core/nds32/ec.lds.S index 24ee1ef0ae..ae26e58f7b 100644 --- a/core/nds32/ec.lds.S +++ b/core/nds32/ec.lds.S @@ -188,6 +188,19 @@ SECTIONS . = ALIGN(4); *(.rodata*) +#ifdef CONFIG_CHIP_INIT_ROM_REGION + ASSERT(0, "CONFIG_CHIP_INIT_ROM_REGION not supported by linker script") +#endif /* CONFIG_CHIP_INIT_ROM_REGION */ + /* + * This linker file does not yet support a separate ROM resident + * section. Ensure the corresponding data objects are linked + * into the .rodata section. + */ + . = ALIGN(4); + __init_rom_start = .; + *(.init.rom) + __init_rom_end = .; + #if defined(SECTION_IS_RO) && defined(CONFIG_FLASH) . = ALIGN(64); KEEP(*(.google)) |