From d80a11ab9d998ded961379449c413c283e1809eb Mon Sep 17 00:00:00 2001 From: Eugeniy Paltsev Date: Thu, 11 Mar 2021 22:20:46 +0300 Subject: [PATCH] ARC: MWDT: avoid xcheck object linkage as we don't use xcheck We don't use xcheck (we disable it by passing '-Hnoxcheck' to linker) so let's avoid xcheck object linkage as well by passing '-Hnoxcheck_obj' option. '-Hnoxcheck_obj' option implies the '-Hnoxcheck' option. Signed-off-by: Eugeniy Paltsev --- cmake/linker/arcmwdt/target.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/linker/arcmwdt/target.cmake b/cmake/linker/arcmwdt/target.cmake index d9916a1eda9..808ea3a1998 100644 --- a/cmake/linker/arcmwdt/target.cmake +++ b/cmake/linker/arcmwdt/target.cmake @@ -112,7 +112,7 @@ macro(toolchain_ld_baremetal) -Hnosdata -Hnocrt -Xtimer0 # to suppress the warning message - -Hnoxcheck + -Hnoxcheck_obj -Hnocplus -Hcl -Hheap=0