about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/m68k/sysdep.h
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@suse.de>2002-11-24 19:41:42 +0000
committerAndreas Schwab <schwab@suse.de>2002-11-24 19:41:42 +0000
commit511e04f3b6a0be69864ba58081f7353524e132c3 (patch)
tree3606737197bc11641b1bbc9af1c51ced0819485e /sysdeps/unix/sysv/linux/m68k/sysdep.h
parent93ed04cc6ee0fadd379f267be24fe3b86c3cf70a (diff)
downloadglibc-511e04f3b6a0be69864ba58081f7353524e132c3.tar.gz
glibc-511e04f3b6a0be69864ba58081f7353524e132c3.tar.xz
glibc-511e04f3b6a0be69864ba58081f7353524e132c3.zip
Support inline syscall with six arguments.
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k/sysdep.h')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/sysdep.h4
1 files changed, 4 insertions, 0 deletions
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__ */