Skip to content

Commit

Permalink
Alignment fix for global symbols fixes #97
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Oct 28, 2018
1 parent 3a6ac16 commit 2f16c46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions picosoc/sections.lds
Expand Up @@ -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
Expand Down

0 comments on commit 2f16c46

Please sign in to comment.