From 659ef5cbb893872d25e9d95191cc23b16546c8a1 Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Sun, 30 Jul 2017 12:30:41 -0700 Subject: tcg: Rearrange ldst label tracking Dispense with TCGBackendData, as it has never been used for more than holding a single pointer. Use a define in the cpu/tcg-target.h to signal requirement for TCGLabelQemuLdst, so that we can drop the no-op tcg-be-null.h stubs. Rename tcg-be-ldst.h to tcg-ldst.inc.c. Reviewed-by: Paolo Bonzini Signed-off-by: Richard Henderson --- tcg/ppc/tcg-target.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tcg/ppc/tcg-target.h') diff --git a/tcg/ppc/tcg-target.h b/tcg/ppc/tcg-target.h index aa44e71..3772cc6 100644 --- a/tcg/ppc/tcg-target.h +++ b/tcg/ppc/tcg-target.h @@ -129,4 +129,8 @@ void tb_target_set_jmp_target(uintptr_t, uintptr_t, uintptr_t); #define TCG_TARGET_DEFAULT_MO (0) +#ifdef CONFIG_SOFTMMU +#define TCG_TARGET_NEED_LDST_LABELS +#endif + #endif -- cgit v1.1