Browse Source

update linker script for components auto initial.

aozima 12 years ago
parent
commit
5183697fd4
1 changed files with 1 additions and 0 deletions
  1. 1 0
      bsp/stm32f10x/stm32f10x_flash.icf

+ 1 - 0
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 };