diff options
| author | [email protected] <[email protected]> | 2011-07-01 13:29:32 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-07-01 13:29:32 +0000 |
| commit | 1d20e11c84353905f47f7b8a9dc6c0f4ab27fbcf (patch) | |
| tree | b34fa21a83bf668f9a21696c2429e6ef37db5fe7 | |
| parent | f0c20eb02012b2521128c28064bda9e77ea175ea (diff) | |
fix GNU GCC ld script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1575 bbd45198-f89e-11dd-88c7-29a3b14d5316
| -rw-r--r-- | bsp/stm32f107/stm32_rom.ld | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bsp/stm32f107/stm32_rom.ld b/bsp/stm32f107/stm32_rom.ld index 703e7acd0a..55d71d0c58 100644 --- a/bsp/stm32f107/stm32_rom.ld +++ b/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)
|
