diff options
author | Andreas Schwab <schwab@suse.de> | 2002-11-24 19:41:42 +0000 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2002-11-24 19:41:42 +0000 |
commit | 0798f1ad5e743c5fb5906e9b6e7bb03aa1e5596b (patch) | |
tree | ab0244665a811fdbb3bc47a2fc8f0d5f9294a25c /sysdeps | |
parent | 859f3bbf75677defb0a7a4c757c2989e3d884f6d (diff) | |
download | glibc-0798f1ad5e743c5fb5906e9b6e7bb03aa1e5596b.tar glibc-0798f1ad5e743c5fb5906e9b6e7bb03aa1e5596b.tar.gz glibc-0798f1ad5e743c5fb5906e9b6e7bb03aa1e5596b.tar.bz2 glibc-0798f1ad5e743c5fb5906e9b6e7bb03aa1e5596b.zip |
Support inline syscall with six arguments.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/sysdep.h | 4 |
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__ */ |