strace/linux/mips/arch_sigreturn.c
Dmitry V. Levin 8e1ebd868f ia64, mips, x86_64: remove no longer used parsers of sigreturn syscalls
As there is no sigreturn syscall on ia64, mips n32, mips n64, x32,
and x86_64, no longer used parsers could be safely removed.

* linux/ia64/arch_sigreturn.c: Remove.
* Makefile.am (EXTRA_DIST): Remove it.
* linux/mips/arch_sigreturn.c (arch_sigreturn): Remove [!LINUX_MIPSO32].
* linux/x86_64/arch_sigreturn.c (arch_sigreturn): Remove.
2017-03-13 15:22:51 +00:00

18 lines
389 B
C

static void
arch_sigreturn(struct tcb *tcp)
{
/* 64-bit ABIs do not have old sigreturn. */
#ifdef LINUX_MIPSO32
/*
* offsetof(struct sigframe, sf_mask) ==
* sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct sigcontext)
*/
const kernel_ulong_t addr = mips_REG_SP + 6 * 4 +
sizeof(struct sigcontext);
tprints("{mask=");
print_sigset_addr(tcp, addr);
tprints("}");
#endif
}