Dmitry V. Levin
c57cf9acf5
Add get_rt_sigframe_addr function for all supported architectures. It is going to be used in a parser of rt_sigreturn syscall. * defs.h (get_rt_sigframe_addr): New function prototype. * rt_sigframe.c: New file. * Makefile.am (strace_SOURCES): Add it. * linux/aarch64/arch_rt_sigframe.c: New file. * linux/alpha/arch_rt_sigframe.c: Likewise. * linux/arc/arch_rt_sigframe.c: Likewise. * linux/arm/arch_rt_sigframe.c: Likewise. * linux/avr32/arch_rt_sigframe.c: Likewise. * linux/bfin/arch_rt_sigframe.c: Likewise. * linux/crisv10/arch_rt_sigframe.c: Likewise. * linux/crisv32/arch_rt_sigframe.c: Likewise. * linux/hppa/arch_rt_sigframe.c: Likewise. * linux/i386/arch_rt_sigframe.c: Likewise. * linux/ia64/arch_rt_sigframe.c: Likewise. * linux/m68k/arch_rt_sigframe.c: Likewise. * linux/metag/arch_rt_sigframe.c: Likewise. * linux/microblaze/arch_rt_sigframe.c: Likewise. * linux/mips/arch_rt_sigframe.c: Likewise. * linux/nios2/arch_rt_sigframe.c: Likewise. * linux/or1k/arch_rt_sigframe.c: Likewise. * linux/powerpc/arch_rt_sigframe.c: Likewise. * linux/powerpc64/arch_rt_sigframe.c: Likewise. * linux/riscv/arch_rt_sigframe.c: Likewise. * linux/s390/arch_rt_sigframe.c: Likewise. * linux/s390x/arch_rt_sigframe.c: Likewise. * linux/sh/arch_rt_sigframe.c: Likewise. * linux/sh64/arch_rt_sigframe.c: Likewise. * linux/sparc/arch_rt_sigframe.c: Likewise. * linux/sparc64/arch_rt_sigframe.c: Likewise. * linux/tile/arch_rt_sigframe.c: Likewise. * linux/x32/arch_rt_sigframe.c: Likewise. * linux/x86_64/arch_rt_sigframe.c: Likewise. * linux/xtensa/arch_rt_sigframe.c: Likewise. * Makefile.am (EXTRA_DIST): Add them. |
||
---|---|---|
.. | ||
arch_getrval2.c | ||
arch_regs.c | ||
arch_regs.h | ||
arch_rt_sigframe.c | ||
arch_sigreturn.c | ||
errnoent1.h | ||
errnoent.h | ||
get_error.c | ||
get_scno.c | ||
get_syscall_args.c | ||
ioctls_arch0.h | ||
ioctls_arch1.h | ||
ioctls_inc0.h | ||
ioctls_inc1.h | ||
rt_sigframe.h | ||
set_error.c | ||
set_scno.c | ||
signalent1.h | ||
signalent.h | ||
syscallent1.h | ||
syscallent.h | ||
userent.h |