zephyr/subsys/testsuite
Grygorii Strashko 965ca96c77 testsuite: coverage: fix arm64 build with gcov enabled
On ARM64 the build will fail with coverage and GCOV enabled:

  CONFIG_COVERAGE=y
  CONFIG_COVERAGE_GCOV=y
  CONFIG_FORCE_COVERAGE=y

west build -b rpi_5 -p always samples/hello_world -- \
 -DCONFIG_COVERAGE=y -DCONFIG_FORCE_COVERAGE=y

Failure:
 "linker_zephyr_pre0.cmd:181: undefined symbol `__gcov_bss_end' referenced
in expression"

Fix build of ARM64 platforms with coverage and GCOV enabled by adding for
ARM64 the same gcov linker sections as it is done for ARM.

Signed-off-by: Grygorii Strashko <grygorii_strashko@epam.com>
2024-08-13 14:57:50 +02:00
..
arch
boards/unit_testing/unit_testing Bluetooth: Kconfig: Remove BT_NO_DRIVER 2024-06-11 19:42:49 -04:00
busy_sim testsuite: busy_sim: Add alarm cancelation to stop function 2024-08-07 19:04:04 -04:00
coverage testsuite: coverage: fix arm64 build with gcov enabled 2024-08-13 14:57:50 +02:00
include/zephyr testsuite: change controlling expressions in while to Boolean 2024-06-21 15:41:26 -04:00
soc
ztest ztest: undefine _POSIX_C_SOURCE before defining it 2024-08-13 14:56:06 +02:00
CMakeLists.txt
Kconfig testsuite: add dependency to `COVERAGE_GCOV_HEAP_SIZE` 2024-06-06 20:07:20 -04:00
Kconfig.defconfig