From: Thorsten Glaser Date: Sun, 4 Dec 2011 18:18:08 +0000 (+0100) Subject: m68k: allow six arguments in syscall function X-Git-Tag: glibc-2.16-ports-before-merge~334 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a40b38f6355ac2b1942ac10341eabbd6d3b793b;p=thirdparty%2Fglibc.git m68k: allow six arguments in syscall function --- diff --git a/ChangeLog.m68k b/ChangeLog.m68k index 42dcf75db0d..bd8631763de 100644 --- a/ChangeLog.m68k +++ b/ChangeLog.m68k @@ -1,3 +1,7 @@ +2011-12-04 Thorsten Glaser + + * sysdeps/unix/sysv/linux/m68k/syscall.S: Allow six arguments. + 2011-11-01 Andreas Schwab * sysdeps/m68k/stackinfo.h (stackinfo_get_sp, stackinfo_sub_sp): diff --git a/sysdeps/unix/sysv/linux/m68k/syscall.S b/sysdeps/unix/sysv/linux/m68k/syscall.S index 4f2c747c274..d1f5c83ca4e 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. */