浏览代码

fix GNU GCC ld script.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1575 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 14 年之前
父节点
当前提交
1d20e11c84
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      bsp/stm32f107/stm32_rom.ld

+ 3 - 0
bsp/stm32f107/stm32_rom.ld

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