diff --git a/ee/startup/src/crt0.c b/ee/startup/src/crt0.c index bf894c3a1a7..67dc9b15b1b 100644 --- a/ee/startup/src/crt0.c +++ b/ee/startup/src/crt0.c @@ -112,13 +112,13 @@ static void _main() // initialize libcglue _libcglue_init(); + // Enable interruts + EI(); + // call global constructors (weak) if (_init) _init(); - // Enable interruts - EI(); - // call main retval = main(pa->argc, pa->argv);