Skip to content

target/arm/gdbstub: Fix builds when TCG is disabled

Philippe Mathieu-Daudé qemu-arm qemu-devel 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 9 repliesApplied

Changes in v2 from the cover letter

- Replace "Restrict aarch64_gdb_get_pauth_reg() to TCG / KVM" by a new patch "Inline pauth_param_mask() and pauth_ptr_mask()".

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2target/arm/gdbstub: Only advertise M-profile features if TCG availabletarget/arm/gdbstub.c+3 -20 replies
2/2target/arm/pauth: Inline pauth_param_mask() and pauth_ptr_mask()target/arm/internals.h target/arm/tcg/pauth_helper.c+16 -182 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchRichard HendersonAlex BennéeFabiano Rosas
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH-for-8.0 v2 0/2] target/arm/gdbstub: Fix builds when TCG is disabled

Since v1:
- Replace "Restrict aarch64_gdb_get_pauth_reg() to TCG / KVM" by a new patch "Inline pauth_param_mask() and pauth_ptr_mask()".

Fix when building QEMU configured with --disable-tcg:

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
"_pauth_ptr_mask", referenced from:
_aarch64_gdb_get_pauth_reg in target_arm_gdbstub64.c.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Philippe Mathieu-Daudé (2):
target/arm/gdbstub: Only advertise M-profile features if TCG available target/arm/pauth: Inline pauth_param_mask() and pauth_ptr_mask()

 target/arm/internals.h        | 16 +++++++++++++++-
 target/arm/gdbstub.c          |  5 +++--
 target/arm/tcg/pauth_helper.c | 18 +-----------------
 3 files changed, 19 insertions(+), 20 deletions(-)
Signature · 1 line
2.38.1