mbox series

[0/8] linux-user/sparc64: Implement signals

Message ID 20210425155749.896330-1-richard.henderson@linaro.org
Headers show
Series linux-user/sparc64: Implement signals | expand

Message

Richard Henderson April 25, 2021, 3:57 p.m. UTC
We were re-using sparc32 signal handling for sparc64.
In the process, clean up the altstack handling in do_*_sigreturn.


r~


Richard Henderson (8):
  linux-user: Split out target_restore_altstack
  linux-user: Use target_restore_altstack in all sigreturn
  linux-user: Pass CPUArchState to do_sigaltstack
  linux-user: Pass CPUArchState to target_restore_altstack
  linux-user/sparc64: Move sparc64 code out of sparc32 signal.c
  linux-user/sparc: Clean up init_thread
  linux-user/sparc64: Include TARGET_STACK_BIAS in get_sp_from_cpustate
  linux-user/sparc64: Implement signals

 linux-user/qemu.h                   |   3 +-
 linux-user/signal-common.h          |   1 +
 linux-user/sparc/target_cpu.h       |   9 +-
 linux-user/sparc/target_signal.h    |   2 +
 linux-user/sparc64/target_syscall.h |  14 +-
 linux-user/aarch64/signal.c         |   6 +-
 linux-user/alpha/signal.c           |   6 +-
 linux-user/arm/signal.c             |   9 +-
 linux-user/elfload.c                |  33 +-
 linux-user/hexagon/signal.c         |   6 +-
 linux-user/hppa/signal.c            |   8 +-
 linux-user/i386/signal.c            |   5 +-
 linux-user/m68k/signal.c            |   5 +-
 linux-user/microblaze/signal.c      |   6 +-
 linux-user/mips/signal.c            |   6 +-
 linux-user/nios2/signal.c           |   8 +-
 linux-user/openrisc/signal.c        |   5 +-
 linux-user/ppc/signal.c             |   4 +-
 linux-user/riscv/signal.c           |   6 +-
 linux-user/s390x/signal.c           |   6 +-
 linux-user/sh4/signal.c             |   7 +-
 linux-user/signal.c                 | 120 ++++---
 linux-user/sparc/signal.c           | 280 ---------------
 linux-user/sparc64/signal.c         | 523 +++++++++++++++++++++++++++-
 linux-user/syscall.c                |   3 +-
 linux-user/xtensa/signal.c          |   6 +-
 26 files changed, 633 insertions(+), 454 deletions(-)

-- 
2.25.1