提交 dd2a4924 编写于 作者: wuyangyong's avatar wuyangyong

rename _system_tack_size to _system_stack_size

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1586 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 a2470120
...@@ -10,7 +10,7 @@ MEMORY ...@@ -10,7 +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; _system_stack_size = 0x100;
SECTIONS SECTIONS
{ {
...@@ -70,6 +70,13 @@ SECTIONS ...@@ -70,6 +70,13 @@ SECTIONS
_edata = . ; _edata = . ;
} >DATA } >DATA
.stack :
{
. = . + _system_stack_size;
. = ALIGN(4);
_estack = .;
} >DATA
__bss_start = .; __bss_start = .;
.bss : .bss :
{ {
...@@ -83,11 +90,7 @@ SECTIONS ...@@ -83,11 +90,7 @@ 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 = .;
*(.bss.init) *(.bss.init)
} > DATA } > DATA
__bss_end = .; __bss_end = .;
......
...@@ -10,7 +10,7 @@ MEMORY ...@@ -10,7 +10,7 @@ MEMORY
DATA (rw) : ORIGIN = 0x20000000, LENGTH = 64k /* 64K sram */ DATA (rw) : ORIGIN = 0x20000000, LENGTH = 64k /* 64K sram */
} }
ENTRY(Reset_Handler) ENTRY(Reset_Handler)
_system_tack_size = 0x100; _system_stack_size = 0x100;
SECTIONS SECTIONS
{ {
...@@ -72,7 +72,7 @@ SECTIONS ...@@ -72,7 +72,7 @@ SECTIONS
.stack : .stack :
{ {
. = . + _system_tack_size; . = . + _system_stack_size;
. = ALIGN(4); . = ALIGN(4);
_estack = .; _estack = .;
} >DATA } >DATA
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册