qemu/linux-user
Samuel Seay beb526b121 PPC: fix segfault in signal handling code
Removed h2g() macro around the ka->_sa_handler due to the _sa_handler being a
guest memory address.

Changed the __put_user to put_user as it was attempting to put a value at the
stack address but the new address is a guest memory address, __put_user is
for host memory addresses.

Signed-off-by: Samuel Seay <LightningTH@GMail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[agraf: change subject line, reformat commit message]
Signed-off-by: Alexander Graf <agraf@suse.de>
2013-01-07 17:37:09 +01:00
..
alpha
arm fpu: move public header file to include/fpu 2012-12-19 08:32:46 +01:00
cris janitor: add guards to headers 2012-12-19 08:31:31 +01:00
i386 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
m68k
microblaze janitor: add guards to headers 2012-12-19 08:31:31 +01:00
mips
mips64
mipsn32
openrisc
ppc
s390x
sh4
sparc linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
sparc64
unicore32 linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
x86_64
cpu-uname.c
cpu-uname.h
elfload.c build: kill libdis, move disassemblers to disas/ 2012-12-19 08:29:06 +01:00
errno_defs.h
flat.h
flatload.c
ioctls.h
linux_loop.h
linuxload.c linux-user: If loading fails, print error as string, not number 2012-10-12 14:25:56 +03:00
m68k-sim.c
main.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
Makefile.objs
mmap.c
qemu.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
signal.c PPC: fix segfault in signal handling code 2013-01-07 17:37:09 +01:00
socket.h
strace.c
strace.list linux-user: Merge pread/pwrite into pread64/pwrite64 2012-12-08 18:49:30 +00:00
syscall_defs.h janitor: add guards to headers 2012-12-19 08:31:31 +01:00
syscall_types.h
syscall.c linux-user/syscall.c: remove forward declarations 2013-01-04 14:38:05 +01:00
target_flat.h
uaccess.c
vm86.c