fix GNU GCC ld script.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1575 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
bernard.xiong@gmail.com 2011-07-01 13:29:32 +00:00
parent f0c20eb020
commit 1d20e11c84
1 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ MEMORY
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000 DATA (rw) : ORIGIN = 0x20000000, LENGTH = 0x00010000
} }
ENTRY(Reset_Handler) ENTRY(Reset_Handler)
_system_tack_size = 0x100;
SECTIONS SECTIONS
{ {
@ -83,6 +84,8 @@ SECTIONS
. = ALIGN(4); . = ALIGN(4);
/* This is used by the startup in order to initialize the .bss secion */ /* This is used by the startup in order to initialize the .bss secion */
_ebss = . ; _ebss = . ;
. = . + _system_tack_size;
. = ALIGN(4);
_estack = .; _estack = .;
*(.bss.init) *(.bss.init)