about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorThorsten Glaser <tg@mirbsd.de>2011-12-04 19:18:08 +0100
committerAndreas Schwab <schwab@linux-m68k.org>2011-12-04 19:19:05 +0100
commit4a40b38f6355ac2b1942ac10341eabbd6d3b793b (patch)
tree98050c01ccf770d7edb426c071be922eab358510 /sysdeps
parentcd27e7cdf2d064438636675c2a34e7b4ba762f5c (diff)
downloadglibc-4a40b38f6355ac2b1942ac10341eabbd6d3b793b.tar.gz
glibc-4a40b38f6355ac2b1942ac10341eabbd6d3b793b.tar.xz
glibc-4a40b38f6355ac2b1942ac10341eabbd6d3b793b.zip
m68k: allow six arguments in syscall function
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/unix/sysv/linux/m68k/syscall.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/syscall.S b/sysdeps/unix/sysv/linux/m68k/syscall.S
index 4f2c747c27..d1f5c83ca4 100644
--- a/sysdeps/unix/sysv/linux/m68k/syscall.S
+++ b/sysdeps/unix/sysv/linux/m68k/syscall.S
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1998, 2011 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,9 +24,9 @@
 	.text
 ENTRY (syscall)
 	move.l 4(%sp), %d0	/* Load syscall number.  */
-	_DOARGS_5 (24)		/* Frob arguments.  */
+	_DOARGS_6 (28)		/* Frob arguments.  */
 	trap &0			/* Do the system call.  */
-	UNDOARGS_5		/* Unfrob arguments.  */
+	UNDOARGS_6		/* Unfrob arguments.  */
 	cmp.l &-4095, %d0	/* Check %d0 for error.  */
 	jcc SYSCALL_ERROR_LABEL	/* Jump to error handler if negative.  */
 	rts			/* Return to caller.  */