Dmitry V. Levin
8e1ebd868f
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.
18 lines
389 B
C
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
|
|
}
|