Constructors called on static objects - I really need them now :)

This commit is contained in:
bsongis
2014-09-20 13:02:20 +02:00
parent 80eb34cea2
commit 8032d6ee66
2 changed files with 10 additions and 1 deletions
@@ -99,7 +99,9 @@ LoopFillZerobss:
cmp r2, r3
bcc FillZerobss
/* Call the clock system intitialization function.*/
bl SystemInit
bl SystemInit
/* Call C++ constructors for static objects */
bl __libc_init_array
/* Call the application's entry point.*/
bl main
bx lr