Platform: Move GNUARM C library to UNPRIV section
Details:
- To enable any secure service to use the standard C library
functions.
- Only read-only(code&ro-data) section was moved.
- Data section of C library remains in the data section of
secure test service to make possible the usage of printf.
Change-Id: Iff106b72af3cc0cc4c0f1ebdab668886644b777c
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
diff --git a/CommonConfig.cmake b/CommonConfig.cmake
index 513b5ef..51ddc6a 100644
--- a/CommonConfig.cmake
+++ b/CommonConfig.cmake
@@ -124,6 +124,8 @@
if (CORE_TEST)
set(CORE_TEST_POSITIVE ON)
set(CORE_TEST_INTERACTIVE OFF)
+ set (TFM_PARTITION_TEST_SECURE_SERVICES ON)
+ add_definitions(-DTFM_PARTITION_TEST_SECURE_SERVICES)
endif()
if (CORE_TEST_INTERACTIVE)