diff --git a/picosoc/sections.lds b/picosoc/sections.lds index 6c83665..5f74459 100644 --- a/picosoc/sections.lds +++ b/picosoc/sections.lds @@ -15,6 +15,7 @@ SECTIONS { *(.rodata*) /* .rodata* sections (constants, strings, etc.) */ *(.srodata) /* .rodata sections (constants, strings, etc.) */ *(.srodata*) /* .rodata* sections (constants, strings, etc.) */ + . = ALIGN(4); _etext = .; /* define a global symbol at end of code */ _sidata = _etext; /* This is used by the startup in order to initialize the .data secion */ } >FLASH