fix alignment of .bas segment to ensure failsafe copy

This commit is contained in:
Markus Fröschle
2013-12-08 07:02:18 +00:00
parent 0b1658d8eb
commit ee54c9950d

View File

@@ -98,6 +98,7 @@ SECTIONS
*/
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
{
. = ALIGN(4); /* same alignment than AT() statement! */
__BAS_DATA_START = .;
*(.data)
__BAS_DATA_END = .;