diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-13 12:45:07 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2012-09-13 12:45:07 +0000 |
commit | 037baacda71b6838fbe292404cace11e5270248f (patch) | |
tree | 0b100e64512f7cd871d4b8096369bc1c3454ac4c /os/ports/GCC/PPC/crt0.s | |
parent | 1c75f310cceeb1fbb5e9a801211e562953f46701 (diff) | |
download | ChibiOS-037baacda71b6838fbe292404cace11e5270248f.tar.gz ChibiOS-037baacda71b6838fbe292404cace11e5270248f.tar.bz2 ChibiOS-037baacda71b6838fbe292404cace11e5270248f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@4649 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/PPC/crt0.s')
-rw-r--r-- | os/ports/GCC/PPC/crt0.s | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/os/ports/GCC/PPC/crt0.s b/os/ports/GCC/PPC/crt0.s index 3081b5aba..cec9a306f 100644 --- a/os/ports/GCC/PPC/crt0.s +++ b/os/ports/GCC/PPC/crt0.s @@ -25,11 +25,13 @@ * @addtogroup PPC_CORE
* @{
*/
-/** @cond never */
- .section .text
+#if !defined(__DOXYGEN__)
+
+ .section .crt0, "ax"
.align 2
.globl _boot_address
+ .type _boot_address, @function
_boot_address:
/*
* Stack setup.
@@ -98,17 +100,19 @@ _boot_address: */
.weak _main_exit_handler
.globl _main_exit_handler
+ .type _main_exit_handler, @function
_main_exit_handler:
-forever:
- b forever
+ b _main_exit_handler
/*
* Default initialization code, none.
*/
.weak __early_init
.globl __early_init
+ .type __early_init, @function
__early_init:
blr
-/** @endcond */
+#endif /* !defined(__DOXYGEN__) */
+
/** @} */
|