summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraozima <[email protected]>2013-07-12 22:50:50 +0800
committeraozima <[email protected]>2013-07-12 22:50:50 +0800
commit5183697fd43052bf2fa7bf94d2ec19a1a8185a2a (patch)
tree131bda2a7bf47989e3a5363ac2300e528b263f5c
parente749fb6e9af34bbda250e4b2d5bf8a4339435bd1 (diff)
update linker script for components auto initial.
-rw-r--r--bsp/stm32f10x/stm32f10x_flash.icf1
1 files changed, 1 insertions, 0 deletions
diff --git a/bsp/stm32f10x/stm32f10x_flash.icf b/bsp/stm32f10x/stm32f10x_flash.icf
index f98793b6ef..0380cc7620 100644
--- a/bsp/stm32f10x/stm32f10x_flash.icf
+++ b/bsp/stm32f10x/stm32f10x_flash.icf
@@ -26,6 +26,7 @@ do not initialize { section .noinit };
keep { section FSymTab };
keep { section VSymTab };
+keep { section .rti_fn* };
place at address mem:__ICFEDIT_intvec_start__ { readonly section .intvec };
place in ROM_region { readonly };