aboutsummaryrefslogtreecommitdiffstats
path: root/os/ports/GCC/ARMCMx
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-17 14:41:19 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2011-04-17 14:41:19 +0000
commitd43e444377e2f1e0db7ed93116e79c58c1520db7 (patch)
tree1f35f2dc7c55b1b1c0e36b50d0e0ea7ec45a96a3 /os/ports/GCC/ARMCMx
parent6a57dd25e08f1a7164542751024429be814df5e3 (diff)
downloadChibiOS-d43e444377e2f1e0db7ed93116e79c58c1520db7.tar.gz
ChibiOS-d43e444377e2f1e0db7ed93116e79c58c1520db7.tar.bz2
ChibiOS-d43e444377e2f1e0db7ed93116e79c58c1520db7.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2884 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/ports/GCC/ARMCMx')
-rw-r--r--os/ports/GCC/ARMCMx/crt0.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/ports/GCC/ARMCMx/crt0.c b/os/ports/GCC/ARMCMx/crt0.c
index 90f632271..685231ed1 100644
--- a/os/ports/GCC/ARMCMx/crt0.c
+++ b/os/ports/GCC/ARMCMx/crt0.c
@@ -186,7 +186,7 @@ void __late_init(void) {}
* @note This function is a weak symbol.
*/
#if !defined(__DOXYGEN__)
-__attribute__((weak, noreturn))
+__attribute__((weak, naked))
#endif
void _default_exit(void) {
while (1)
@@ -197,7 +197,7 @@ void _default_exit(void) {
* @brief Reset vector.
*/
#if !defined(__DOXYGEN__)
-__attribute__((noreturn))
+__attribute__((naked))
#endif
void ResetHandler(void) {
uint32_t psp, ctl;