* sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
authorAndreas Schwab <schwab@suse.de>
Mon, 27 Nov 2006 23:03:17 +0000 (23:03 +0000)
committerAndreas Schwab <schwab@suse.de>
Mon, 27 Nov 2006 23:03:17 +0000 (23:03 +0000)
(UNDOARGS_6): Define for 6-argument syscall stubs.

ChangeLog.m68k
sysdeps/unix/sysv/linux/m68k/sysdep.h

index 44cdd8f..51f6dfa 100644 (file)
@@ -1,3 +1,8 @@
+2006-11-28  Andreas Schwab  <schwab@suse.de>
+
+       * sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)
+       (UNDOARGS_6): Define for 6-argument syscall stubs.
+
 2006-10-03  Andreas Schwab  <schwab@suse.de>
 
        * sysdeps/m68k/setjmp.c: Use __builtin_return_address and
index be37c89..12687d8 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996, 1997, 1998, 2000, 2003, 2004 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997, 1998, 2000, 2003, 2004, 2006 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Written by Andreas Schwab, <schwab@issan.informatik.uni-dortmund.de>,
    December 1995.
@@ -195,6 +195,10 @@ SYSCALL_ERROR_LABEL:                                                             \
 #define _DOARGS_5(n)   move.l %d5, -(%sp); move.l n+4(%sp), %d5; _DOARGS_4 (n)
 #define UNDOARGS_5     UNDOARGS_4; move.l (%sp)+, %d5
 
+#define DOARGS_6       _DOARGS_6 (24)
+#define _DOARGS_6(n)   _DOARGS_5 (n-4); move.l %a0, -(%sp); move.l n+12(%sp), %a0;
+#define UNDOARGS_6     move.l (%sp)+, %a0; UNDOARGS_5
+
 
 #define        ret     rts
 #if 0 /* Not used by Linux */