summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-12-27 21:30:21 +0100
committerAbdoulaye Walsimou Gaye <awg@embtoolkit.org>2010-12-27 21:30:21 +0100
commitb06466be14acfbfe687b76328363b35e3e60e890 (patch)
tree319016ca90b5e7f7f13e408505e243aa38bbec3f
parent4efefb9128e350b010dbec27ce15dc9d303ad1e5 (diff)
downloadembtoolkit-b06466be14acfbfe687b76328363b35e3e60e890.tar.gz
embtoolkit-b06466be14acfbfe687b76328363b35e3e60e890.tar.bz2
embtoolkit-b06466be14acfbfe687b76328363b35e3e60e890.tar.xz
Toolchain: ARM architecture: use software calling convention for HARD floating point
Signed-off-by: Abdoulaye Walsimou Gaye <awg@embtoolkit.org>
-rw-r--r--mk/arm-arch.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/arm-arch.mk b/mk/arm-arch.mk
index c39e34b..710d7fb 100644
--- a/mk/arm-arch.mk
+++ b/mk/arm-arch.mk
@@ -58,7 +58,7 @@ endif
#Hard or soft floating point for GCC?
ifeq ($(CONFIG_EMBTK_HARDFLOAT),y)
-GCC_WITH_FLOAT := --with-float=hard
+GCC_WITH_FLOAT := --with-float=softfp
else
GCC_WITH_FLOAT := --with-float=soft
endif
@@ -67,7 +67,7 @@ endif
ifeq ($(CONFIG_EMBTK_SOFTFLOAT),y)
EMBTK_TARGET_FLOAT_CFLAGS := -mfloat-abi=soft
else
-EMBTK_TARGET_FLOAT_CFLAGS := -mfloat-abi=hard
+EMBTK_TARGET_FLOAT_CFLAGS := -mfloat-abi=softfp
endif
# Some other flags for TARGET_CFLAGS