Dmitry V. Levin
7494f63faa
* linux/arch_defs_.h [!HAVE_ARCH_OLD_SELECT] (HAVE_ARCH_OLD_SELECT): New macro. * linux/aarch64/arch_defs_.h (HAVE_ARCH_OLD_SELECT): Likewise. * linux/arm/arch_defs_.h: Likewise. * linux/bfin/arch_defs_.h: Likewise. * linux/i386/arch_defs_.h: Likewise. * linux/m68k/arch_defs_.h: Likewise. * linux/microblaze/arch_defs_.h: Likewise. * linux/powerpc64/arch_defs_.h: Likewise. * linux/sh/arch_defs_.h: Likewise. * linux/x32/arch_defs_.h: Likewise. * linux/x86_64/arch_defs_.h: Likewise. * linux/powerpc/arch_defs_.h: New file. * Makefile.am (EXTRA_DIST): Add it. * desc.c (SYS_FUNC(oldselect)): Rewrite using fetch_indirect_syscall_args, move under [HAVE_ARCH_OLD_SELECT]. * pathtrace.c (match_xselect_args): New function. (pathtrace_match_set): Use it.