提交 65850a02 编写于 作者: B Blue Swirl

Fix Sparc host build breakage

Fix error:
  CC    sparc-bsd-user/op_helper.o
In file included from /src/qemu/tcg/tcg.c:158:
/src/qemu/tcg/sparc/tcg-target.c:728:5: "TARGET_PHYS_ADDR_BITS" is not defined
Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 338e9e6c
......@@ -725,11 +725,19 @@ static const void * const qemu_st_helpers[4] = {
#define TARGET_LD_OP LDX
#endif
#if defined(CONFIG_SOFTMMU)
#if TARGET_PHYS_ADDR_BITS == 32
#define TARGET_ADDEND_LD_OP LDUW
#else
#define TARGET_ADDEND_LD_OP LDX
#endif
#else
#if TARGET_ABI_BITS == 32
#define TARGET_ADDEND_LD_OP LDUW
#else
#define TARGET_ADDEND_LD_OP LDX
#endif
#endif
#ifdef __arch64__
#define HOST_LD_OP LDX
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册