diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-10-14 17:06:54 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2014-10-14 17:06:54 +0000 |
commit | 7ef4c6df4aba152a941ac3c25ae05fe4e74f445f (patch) | |
tree | b843ada8925bbee2d9dce0d1d3bfa79f67892de2 /os/rt/ports | |
parent | e571ffd6484806851a4a37cd791508cfce122d40 (diff) | |
download | ChibiOS-7ef4c6df4aba152a941ac3c25ae05fe4e74f445f.tar.gz ChibiOS-7ef4c6df4aba152a941ac3c25ae05fe4e74f445f.tar.bz2 ChibiOS-7ef4c6df4aba152a941ac3c25ae05fe4e74f445f.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7396 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/rt/ports')
-rw-r--r-- | os/rt/ports/ARM/compilers/GCC/chcoreasm.s | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/os/rt/ports/ARM/compilers/GCC/chcoreasm.s b/os/rt/ports/ARM/compilers/GCC/chcoreasm.s index 18a0772e7..7ab661443 100644 --- a/os/rt/ports/ARM/compilers/GCC/chcoreasm.s +++ b/os/rt/ports/ARM/compilers/GCC/chcoreasm.s @@ -271,12 +271,12 @@ _port_thread_start: #endif
#endif
msr CPSR_c, #MODE_SYS
-#if defined(THUMB_NO_INTERWORKING)
+#if !defined(THUMB_NO_INTERWORKING)
mov r0, r5
mov lr, pc
bx r4
bl chThdExit
-#else /* !defined(THUMB_NO_INTERWORKING) */
+#else /* defined(THUMB_NO_INTERWORKING) */
add r0, pc, #1
bx r0
.code 16
@@ -285,7 +285,7 @@ _port_thread_start: bl chThdExit
jmpr4:
bx r4
-#endif /* !defined(THUMB_NO_INTERWORKING) */
+#endif /* defined(THUMB_NO_INTERWORKING) */
#endif /* !defined(__DOXYGEN__) */
|