v2: https://patchew.org/QEMU/20230630234230.596193-1-...@linux.ibm.com/ v2 -> v3: Rebased. This series was lost and forgotten until Philippe reminded me about it.
v1: https://lists.gnu.org/archive/html/qemu-devel/2023-06/msg07037.html v1 -> v2: Move qemu_target_page_mask() hunk to patch 1. Fix typos. Hi, This series is a follow-up to discussion in [1]; the goal is to build perf and debuginfo support only one time. Best regards, Ilya [1] https://lists.gnu.org/archive/html/qemu-devel/2023-06/msg06510.html Ilya Leoshkevich (4): target: Make qemu_target_page_mask() available for *-user tcg: Make tb_cflags() usable from target-agnostic code accel/tcg: Remove #ifdef TARGET_I386 from perf.c accel/tcg: Move perf and debuginfo support to tcg accel/tcg/meson.build | 2 -- accel/tcg/translate-all.c | 2 +- hw/core/loader.c | 2 +- include/exec/exec-all.h | 6 ------ include/exec/translation-block.h | 6 ++++++ linux-user/elfload.c | 2 +- linux-user/exit.c | 2 +- linux-user/main.c | 2 +- system/physmem.c | 5 ----- system/vl.c | 2 +- target/meson.build | 2 ++ target/target-common.c | 10 ++++++++++ {accel/tcg => tcg}/debuginfo.c | 0 {accel/tcg => tcg}/debuginfo.h | 4 ++-- tcg/meson.build | 3 +++ {accel/tcg => tcg}/perf.c | 9 +++------ {accel/tcg => tcg}/perf.h | 4 ++-- tcg/tcg.c | 2 +- 18 files changed, 35 insertions(+), 30 deletions(-) create mode 100644 target/target-common.c rename {accel/tcg => tcg}/debuginfo.c (100%) rename {accel/tcg => tcg}/debuginfo.h (96%) rename {accel/tcg => tcg}/perf.c (98%) rename {accel/tcg => tcg}/perf.h (95%) -- 2.43.0