qemu-patch-raspberry4/tcg/ppc64
David Gibson 9df3b45dd4 tcg-ppc64: Fix compile errors for userspace only builds with gcc 4.6
tcg/ppc64/tcg-target.c has a couple of places where variables are set
unconditionally, but otherwise used only for softmmu builds, not
userspace only builds.  This causes compiler warnings (which are fatal
by default) when compiling for a ppc64 host with gcc 4.6.  This patch
fixes the problem by moving the code which defines and sets the
variables into the CONFIG_SOFTMMU guarded regions.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
2011-11-11 17:33:58 +01:00
..
tcg-target.c tcg-ppc64: Fix compile errors for userspace only builds with gcc 4.6 2011-11-11 17:33:58 +01:00
tcg-target.h tcg: Don't declare TCG_TARGET_REG_BITS in tcg-target.h 2011-10-01 06:11:12 +00:00