From 143b921c7c1c89db77111ca3087e213a4a07a948 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 18 Dec 2010 09:58:12 +0000 Subject: [PATCH] git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2493 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/ports/IAR/ARMCMx/cstartup.s | 8 ++++---- 1 file 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