mirror of https://github.com/YosysHQ/picorv32.git
Alignment fix for global symbols fixes #97
This commit is contained in:
parent
3a6ac16259
commit
2f16c46918
|
@ -15,6 +15,7 @@ SECTIONS {
|
||||||
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
|
*(.rodata*) /* .rodata* sections (constants, strings, etc.) */
|
||||||
*(.srodata) /* .rodata sections (constants, strings, etc.) */
|
*(.srodata) /* .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 */
|
_etext = .; /* define a global symbol at end of code */
|
||||||
_sidata = _etext; /* This is used by the startup in order to initialize the .data secion */
|
_sidata = _etext; /* This is used by the startup in order to initialize the .data secion */
|
||||||
} >FLASH
|
} >FLASH
|
||||||
|
|
Loading…
Reference in New Issue