clear BaS data segment at start

This commit is contained in:
Markus Fröschle
2013-08-01 05:46:39 +00:00
parent 20b62d63b2
commit 2a9a57eeea
2 changed files with 23 additions and 2 deletions

View File

@@ -51,7 +51,10 @@ SECTIONS
*/
AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4))
{
__BAS_DATA_START = .;
*(.data)
. = ALIGN(16);
__BAS_DATA_END = .;
*(.bss)
/* The BaS copy routine assumes that tha BaS size