aboutsummaryrefslogtreecommitdiff
path: root/toolchain_IARARM.cmake
diff options
context:
space:
mode:
authorTamas Ban <tamas.ban@arm.com>2020-10-26 13:03:13 +0000
committerTamas Ban <tamas.ban@arm.com>2020-12-17 13:06:19 +0000
commitf8b0b2df5e9b954fd5d59ae95684659e73b38c8c (patch)
treed76ac5d0545608363ba59aca869bdd6f188357b0 /toolchain_IARARM.cmake
parent73946a89d4e1b839878f0599516dc5ae6e01efe7 (diff)
downloadtrusted-firmware-m-f8b0b2df5e9b954fd5d59ae95684659e73b38c8c.tar.gz
Build: Enable code sharing between bootloader and SPE
Add CMake functions to allow sharing regions of code between independently linked binaries. Signed-off-by: Tamas Ban <tamas.ban@arm.com> Change-Id: I6a6132d6c1558b242d8da1dedab14f93a852f81a
Diffstat (limited to 'toolchain_IARARM.cmake')
-rw-r--r--toolchain_IARARM.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/toolchain_IARARM.cmake b/toolchain_IARARM.cmake
index 4a9662f93e..f471b7d6af 100644
--- a/toolchain_IARARM.cmake
+++ b/toolchain_IARARM.cmake
@@ -184,3 +184,11 @@ macro(add_convert_to_bin_target target)
DEPENDS ${target}_hex
)
endmacro()
+
+macro(compiler_create_shared_code TARGET SHARED_SYMBOL_TEMPLATE)
+ message(FATAL_ERROR "Code sharing support is not implemented by IAR.")
+endmacro()
+
+macro(compiler_link_shared_code TARGET SHARED_CODE_PATH ORIG_TARGET LIB_LIST)
+ message(FATAL_ERROR "Code sharing support is not implemented by IAR.")
+endmacro() \ No newline at end of file