|
From: | Alex Bennée |
Subject: | Re: [PATCH-for-8.0 2/2] target/arm/gdbstub: Only advertise M-profile features if TCG available |
Date: | Wed, 22 Mar 2023 16:21:45 +0000 |
User-agent: | mu4e 1.9.22; emacs 29.0.60 |
Philippe Mathieu-Daudé <philmd@linaro.org> writes: > Cortex-M profile is only emulable from TCG accelerator. Restrict > the GDBstub features to its availability in order to avoid a link > error when TCG is not enabled: > > Undefined symbols for architecture arm64: > "_arm_v7m_get_sp_ptr", referenced from: > _m_sysreg_get in target_arm_gdbstub.c.o > "_arm_v7m_mrs_control", referenced from: > _arm_gdb_get_m_systemreg in target_arm_gdbstub.c.o > ld: symbol(s) not found for architecture arm64 > clang: error: linker command failed with exit code 1 (use -v to see > invocation) > > Fixes: 7d8b28b8b5 ("target/arm: Implement gdbstub m-profile systemreg and > secext") > Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée Virtualisation Tech Lead @ Linaro
[Prev in Thread] | Current Thread | [Next in Thread] |