aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports/e200/compilers/CW/crt0.s
diff options
context:
space:
mode:
Diffstat (limited to 'os/common/ports/e200/compilers/CW/crt0.s')
-rw-r--r--os/common/ports/e200/compilers/CW/crt0.s17
1 files changed, 7 insertions, 10 deletions
diff --git a/os/common/ports/e200/compilers/CW/crt0.s b/os/common/ports/e200/compilers/CW/crt0.s
index 33f6996bb..510dc9a2f 100644
--- a/os/common/ports/e200/compilers/CW/crt0.s
+++ b/os/common/ports/e200/compilers/CW/crt0.s
@@ -103,6 +103,7 @@
.extern __init_array_end
.extern __fini_array_start
.extern __fini_array_end
+
.extern main
.section .crt0, text_vle
@@ -238,27 +239,23 @@ _boot_address:
/* Branching to the defined exit handler.*/
e_b __default_exit
+#endif /* !defined(__DOXYGEN__) */
+
+ .section .text_vle
+ .align 4
+
/* Default main exit code, infinite loop.*/
.weak __default_exit
- .globl __default_exit
- .type __default_exit, @function
__default_exit:
- se_b __default_exit
+ e_b __default_exit
/* Default early initialization code, none.*/
.weak __early_init
- .globl __early_init
- .type __early_init, @function
-__early_init:
se_blr
/* Default late initialization code, none.*/
.weak __late_init
- .globl __late_init
- .type __late_init, @function
__late_init:
se_blr
-#endif /* !defined(__DOXYGEN__) */
-
/** @} */