summaryrefslogtreecommitdiff
path: root/libcpu/arm/cortex-r4/stack.c
diff options
context:
space:
mode:
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