From: Andreas Schwab Date: Sun, 24 Nov 2002 19:41:42 +0000 (+0000) Subject: Support inline syscall with six arguments. X-Git-Tag: cvs/initial~14 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=511e04f3b6a0be69864ba58081f7353524e132c3;p=glibc.git Support inline syscall with six arguments. --- diff --git a/sysdeps/unix/sysv/linux/m68k/sysdep.h b/sysdeps/unix/sysv/linux/m68k/sysdep.h index 6d0817cf2e..1247cc49f2 100644 --- a/sysdeps/unix/sysv/linux/m68k/sysdep.h +++ b/sysdeps/unix/sysv/linux/m68k/sysdep.h @@ -203,5 +203,9 @@ SYSCALL_ERROR_LABEL: \ register int _d5 asm ("d5") = (int) (a5); \ LOAD_ARGS_4 (a1, a2, a3, a4) #define ASM_ARGS_5 ASM_ARGS_4, "d" (_d5) +#define LOAD_ARGS_6(a1, a2, a3, a4, a5, a6) \ + register int _a0 asm ("a0") = (int) (a6); \ + LOAD_ARGS_5 (a1, a2, a3, a4, a5) +#define ASM_ARGS_6 ASM_ARGS_5, "a" (_a0) #endif /* not __ASSEMBLER__ */