diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-23 12:04:24 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2015-11-23 12:04:24 +0000 |
commit | ce5b8d63f626f1d97e60973aff42607a4979a45a (patch) | |
tree | 9f7a910a3e19d0bf7a6246b3b527f67fa91905ea /os/common/ports/e200/compilers/CW/crt0.s | |
parent | 1736a34d19fe86ba454262e4e61863c233c0ef4b (diff) | |
download | ChibiOS-ce5b8d63f626f1d97e60973aff42607a4979a45a.tar.gz ChibiOS-ce5b8d63f626f1d97e60973aff42607a4979a45a.tar.bz2 ChibiOS-ce5b8d63f626f1d97e60973aff42607a4979a45a.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8520 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports/e200/compilers/CW/crt0.s')
-rw-r--r-- | os/common/ports/e200/compilers/CW/crt0.s | 17 |
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__) */
-
/** @} */
|