summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-r4/stack.c
diff options
context:
space:
mode:
authorGrissiom <[email protected]>2013-10-20 04:06:56 +0800
committerGrissiom <[email protected]>2013-10-20 18:51:45 +0800
commit9568669109ffcb3aa6de8d07959795de71d505ae (patch)
tree248a5837cad06c061d924b99788a984885cd3494 /libcpu/arm/cortex-r4/stack.c
parent2f4329430d548daa0c7b0b3f758c3b3c6776de8d (diff)
rm48x50: add GCC support
Diffstat (limited to 'libcpu/arm/cortex-r4/stack.c')
-rw-r--r--libcpu/arm/cortex-r4/stack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcpu/arm/cortex-r4/stack.c b/libcpu/arm/cortex-r4/stack.c
index 02dc84e6f1..769e3360ed 100644
--- a/libcpu/arm/cortex-r4/stack.c
+++ b/libcpu/arm/cortex-r4/stack.c
@@ -57,7 +57,7 @@ rt_uint8_t *rt_hw_stack_init(void *tentry, void *parameter,
else
*(--stk) = SVCMODE; /* arm mode */
-#ifdef __TI_VFP_SUPPORT__
+#if defined(__TI_VFP_SUPPORT__) || (defined (__VFP_FP__) && !defined(__SOFTFP__))
#ifndef RT_VFP_LAZY_STACKING
{
#define VFP_DATA_NR 32