diff options
author | Tamas Ban <tamas.ban@arm.com> | 2020-10-26 13:03:13 +0000 |
---|---|---|
committer | Tamas Ban <tamas.ban@arm.com> | 2020-12-17 13:06:19 +0000 |
commit | f8b0b2df5e9b954fd5d59ae95684659e73b38c8c (patch) | |
tree | d76ac5d0545608363ba59aca869bdd6f188357b0 /toolchain_IARARM.cmake | |
parent | 73946a89d4e1b839878f0599516dc5ae6e01efe7 (diff) | |
download | trusted-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.cmake | 8 |
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 |