Merge pull request #101 from mmicko/master
Alignment fix for global symbols fixes #97
This commit is contained in:
commit
de479b0905
|
@ -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