summaryrefslogtreecommitdiff
path: root/target/ppc/Makefile.objs
diff options
context:
space:
mode:
authorMike Nawrocki <michael.nawrocki@gtri.gatech.edu>2017-02-28 08:32:17 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2017-03-01 11:53:58 +1100
commit356bb70ed1a8a741413d55e3dbc5ccd02c53d794 (patch)
tree3ef9551d918f35cdb0f09d8f04fbf68c728b635a /target/ppc/Makefile.objs
parent8e4fba203e56b8676d1092c9415cb72521efa584 (diff)
downloadqemu-356bb70ed1a8a741413d55e3dbc5ccd02c53d794.tar.gz
Add PowerPC 32-bit guest memory dump support
This patch extends support for the `dump-guest-memory` command to the 32-bit PowerPC architecture. It relies on the assumption that a 64-bit guest will not dump a 32-bit core file (and vice versa). [dwg: I suspect this patch won't cover all cases, in particular a 32-bit machine type on a 64-bit qemu build. However, it does strictly more than what we had before, so might as well apply as a starting point] Signed-off-by: Mike Nawrocki <michael.nawrocki@gtri.gatech.edu> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'target/ppc/Makefile.objs')
-rw-r--r--target/ppc/Makefile.objs4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/ppc/Makefile.objs b/target/ppc/Makefile.objs
index 4f4168fa04..0057b319c0 100644
--- a/target/ppc/Makefile.objs
+++ b/target/ppc/Makefile.objs
@@ -2,8 +2,8 @@ obj-y += cpu-models.o
obj-y += cpu.o
obj-y += translate.o
ifeq ($(CONFIG_SOFTMMU),y)
-obj-y += machine.o mmu_helper.o mmu-hash32.o monitor.o
-obj-$(TARGET_PPC64) += mmu-hash64.o arch_dump.o compat.o
+obj-y += machine.o mmu_helper.o mmu-hash32.o monitor.o arch_dump.o
+obj-$(TARGET_PPC64) += mmu-hash64.o compat.o
endif
obj-$(CONFIG_KVM) += kvm.o
obj-$(call lnot,$(CONFIG_KVM)) += kvm-stub.o