+2001-03-28 Wichert Akkerman <wakkerma@debian.org>
+
+ * configure.in: use sparc* so we can compile on sparc64 as well
+ * process.c, syscall.c: work around double define of fpq, fq and fpu
+ structs on Linux/sparc, and use regs instead of pt_regs
+ * don't use asm/sigcontext.h on Linux/sparc
+
2001-03-28 Wichert Akkerman <wakkerma@debian.org>
* linux/sparc/ioctlent.h: updated using new Linux ioctl setup
/* 1.1 processes and protection */
int sys_gethostid(),sys_sethostname(),sys_gethostname(),sys_getpid();
int sys_setdomainname(),sys_getdomainname();
-int sys_fork(),sys_exit(),sys_execv(),sys_execve(),sys_wait4(),sys_waitpid();
+int sys_fork(),sys_clone(),sys_exit(),sys_execv(),sys_execve(),sys_wait4(),sys_waitpid();
int sys_setuid(),sys_setgid(),sys_getuid(),sys_setreuid(),sys_getgid(),sys_getgroups(),sys_setregid(),sys_setgroups();
int sys_getpgrp(),sys_setpgrp();
int sys_setsid(), sys_setpgid();
/* 1.2 memory management */
int sys_brk(),sys_sbrk(),sys_sstk();
int sys_getpagesize(),sys_mmap(),sys_mctl(),sys_munmap(),sys_mprotect(),sys_mincore(), sys_mremap();
-int sys_omsync(),sys_omadvise();
+int sys_omsync(),sys_omadvise(), sys_madvise(),sys_mlockall();
/* 1.3 signals */
int sys_sigvec(),sys_sigblock(),sys_sigsetmask(),sys_sigpause(),sys_sigstack(),sys_sigcleanup(), sys_sigreturn();
int sys_rtschedule(), sys_personality();
/* 1.7 system operation support */
-int sys_mount(),sys_unmount(),sys_swapon();
+int sys_mount(),sys_unmount(),sys_swapon(),sys_pivotroot();
int sys_sync(),sys_reboot();
int sys_sysacct();
int sys_auditsys();
# include <asm/ptrace_offsets.h>
#endif /* !IA64 */
-#ifdef HAVE_ASM_SIGCONTEXT_H
-#include <asm/sigcontext.h>
+#if HAVE_ASM_REG_H
#ifdef SPARC
+# define fpq kernel_fpq
+# define fq kernel_fq
+# define fpu kernel_fpu
+#endif
#include <asm/reg.h>
+#ifdef SPARC
+# undef fpq
+# undef fq
+# undef fpu
+#endif
+
+#endif /* HAVE_ASM_REG_H */
+#ifdef HAVE_ASM_SIGCONTEXT_H
+#ifdef SPARC
typedef struct {
struct regs si_regs;
int si_mask;
} m_siginfo_t;
-#endif
+#else
+#include <asm/sigcontext.h>
+#endif /* SPARC */
#else /* !HAVE_ASM_SIGCONTEXT_H */
#ifdef I386
struct sigcontext_struct {