aboutsummaryrefslogtreecommitdiff
path: root/mk/config.mk
diff options
context:
space:
mode:
authorJens Wiklander <jens.wiklander@linaro.org>2015-12-11 16:35:10 +0100
committerJens Wiklander <jens.wiklander@linaro.org>2016-02-04 15:39:53 +0100
commit0de9a5fb2f86132c703c27f603125e1e5f29b5a2 (patch)
treef69f1d85c7d9684c355d8701f2e7e30ae1cf581a /mk/config.mk
parent3276098dd4bfdd21da5b85e992a5bbd9a35ea69e (diff)
arm: add TA hard-float support
Adds support for hard-float in TAs. Hard-float is enabled by default for all platforms which are capable, currently all. Soft-float is still available if needed. Reviewed-by: Pascal Brand <pascal.brand@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (HiKey) Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU, FVP) Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
Diffstat (limited to 'mk/config.mk')
-rw-r--r--mk/config.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/mk/config.mk b/mk/config.mk
index 88f572a4..fcd33f75 100644
--- a/mk/config.mk
+++ b/mk/config.mk
@@ -104,5 +104,13 @@ TA_SIGN_KEY ?= keys/default_ta.pem
# may not because they obtain the isoc functions from elsewhere
CFG_LIBUTILS_WITH_ISOC ?= y
-# Floating point support for TAs default on only for arm32 core
-CFG_TA_FLOAT_SUPPORT ?= $(CFG_ARM32_core)
+# Enables floating point support for user TAs
+# ARM32: EABI defines both a soft-float ABI and a hard-float ABI,
+# hard-float is basically a super set of soft-float. Hard-float
+# requires all the support routines provided for soft-float, but the
+# compiler may choose to optimize to not use some of them and use
+# the floating-point registers instead.
+# ARM64: EABI doesn't define a soft-float ABI, everything is hard-float (or
+# nothing with ` -mgeneral-regs-only`)
+# With CFG_TA_FLOAT_SUPPORT enabled TA code is free use floating point types
+CFG_TA_FLOAT_SUPPORT ?= y