diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-18 09:58:12 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2010-12-18 09:58:12 +0000 |
commit | 143b921c7c1c89db77111ca3087e213a4a07a948 (patch) | |
tree | 9b02ae2244da24d201463312c36241603b8d1a2a /os | |
parent | 328bdfac63839fc4ea0a83d5a166c9590847cad4 (diff) | |
download | ChibiOS-143b921c7c1c89db77111ca3087e213a4a07a948.tar.gz ChibiOS-143b921c7c1c89db77111ca3087e213a4a07a948.tar.bz2 ChibiOS-143b921c7c1c89db77111ca3087e213a4a07a948.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2493 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r-- | os/ports/IAR/ARMCMx/cstartup.s | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/ports/IAR/ARMCMx/cstartup.s b/os/ports/IAR/ARMCMx/cstartup.s index 61da4b472..6481d3490 100644 --- a/os/ports/IAR/ARMCMx/cstartup.s +++ b/os/ports/IAR/ARMCMx/cstartup.s @@ -39,13 +39,9 @@ CONTROL_USE_PSP SET 2 SECTION .intvec:CODE:NOROOT(3)
PUBLIC __iar_program_start
- EXTERN main
- EXTERN _exit
EXTERN __vector_table
EXTWEAK __iar_init_core
EXTWEAK __iar_init_vfp
- EXTWEAK __low_level_init
- EXTWEAK __iar_data_init3
SECTION .text:CODE:REORDER(2)
THUMB
@@ -61,6 +57,10 @@ __iar_program_start: bl __iar_init_vfp
; Replicated cmain.s here in order to insert the call to hwinit1.
+ EXTERN main
+ EXTERN _exit
+ EXTWEAK __low_level_init
+ EXTWEAK __iar_data_init3
bl __low_level_init
cmp r0, #0
beq.n _call_main
|