From: Matheus Ferst<matheus.ferst@eldorado.org.br>
env->xer doesn't hold some bits of XER, like OV and CA. To write the
complete register in the core dump we should read XER value with
cpu_read_xer.
Reported-by: Lucas Mateus Castro (alqotel)<lucas.araujo@eldorado.org.br>
Fixes: da91a00f191f ("target-ppc: Split out SO, OV, CA fields from XER")
Signed-off-by: Matheus Ferst<matheus.ferst@eldorado.org.br>
---
linux-user/elfload.c | 2 +-
target/ppc/cpu.c | 2 +-
target/ppc/cpu.h | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)