* sysdeps/unix/sysv/linux/m68k/sysdep.h (DOARGS_6, _DOARGS_6)

(UNDOARGS_6): Define for 6-argument syscall stubs.
This commit is contained in:
Andreas Schwab 2006-11-27 23:03:17 +00:00
parent 3de1043772
commit 5dde01821a
2 changed files with 10 additions and 1 deletions

View 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

View 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 */