Bug 3578927 again.

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4773 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2012-10-21 17:43:36 +00:00
parent ad4bbd4690
commit 38339542cc
1 changed files with 3 additions and 3 deletions

View File

@ -275,9 +275,6 @@ void ResetHandler(void) {
asm volatile ("msr CONTROL, %0" : : "r" (reg)); asm volatile ("msr CONTROL, %0" : : "r" (reg));
asm volatile ("isb"); asm volatile ("isb");
/* Early initialization hook invocation.*/
__early_init();
#if CRT0_INIT_STACKS #if CRT0_INIT_STACKS
/* Main and Process stacks initialization.*/ /* Main and Process stacks initialization.*/
fill32(&__main_stack_base__, fill32(&__main_stack_base__,
@ -288,6 +285,9 @@ void ResetHandler(void) {
CRT0_STACKS_FILL_PATTERN); CRT0_STACKS_FILL_PATTERN);
#endif #endif
/* Early initialization hook invocation.*/
__early_init();
#if CRT0_INIT_DATA #if CRT0_INIT_DATA
/* DATA segment initialization.*/ /* DATA segment initialization.*/
{ {