Skip to content

Commit dfcaa7d

Browse files
committed
Zephyr: Fix Zephyr size tests for toolchain used by Zephyr 4.4
Signed-off-by: Zingo Andersen <Zingo.Andersen@arm.com> Change-Id: Iaeb5cd988a3e3d091179c11dd6667479a412acd5
1 parent b9c0bb7 commit dfcaa7d

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

examples/zephyr/x86_64-linux-arm-zephyr-eabi-gcc.cmake

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# Copyright (c) 2020-2022 Arm Limited. All rights reserved.
2+
# Copyright (c) 2020-2022,2026 Arm Limited. All rights reserved.
33
#
44
# SPDX-License-Identifier: Apache-2.0
55
#
@@ -57,10 +57,10 @@ add_compile_definitions("$<$<NOT:$<CONFIG:DEBUG>>:NDEBUG>")
5757
# Link options
5858
add_link_options(-mcpu=${GCC_CPU} -mthumb)
5959

60+
# Zephyr SDK GCC defaults to Picolibc and does not ship GNU Arm's
61+
# nosys.specs/rdimon.specs files.
6062
if(SEMIHOSTING)
61-
add_link_options(--specs=rdimon.specs)
62-
else()
63-
add_link_options(--specs=nosys.specs)
63+
add_link_options(-lsemihost)
6464
endif()
6565

6666
# Set floating point unit

0 commit comments

Comments
 (0)