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
diff --git a/toolchain_IARARM.cmake b/toolchain_IARARM.cmake
index 4a9662f..f471b7d 100644
--- a/toolchain_IARARM.cmake
+++ b/toolchain_IARARM.cmake
@@ -184,3 +184,11 @@
         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