From 5a9c6ade8963d4839c76d88aa8845e992014f86c Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 2 Feb 2005 03:06:52 +0000 Subject: [PATCH] 2005-02-01 Roland McGrath * syscall.c (syscall_enter) [X86_64]: Fix 32-bit argument register map not to double the middle entry! --- syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syscall.c b/syscall.c index f6332c65..c5063340 100644 --- a/syscall.c +++ b/syscall.c @@ -2038,7 +2038,7 @@ struct tcb *tcp; int i; static int argreg[SUPPORTED_PERSONALITIES][MAX_ARGS] = { {RDI,RSI,RDX,R10,R8,R9}, /* x86-64 ABI */ - {RBX,RCX,RDX,RDX,RSI,RDI,RBP} /* i386 ABI */ + {RBX,RCX,RDX,RSI,RDI,RBP} /* i386 ABI */ }; if (tcp->scno >= 0 && tcp->scno < nsyscalls && sysent[tcp->scno].nargs != -1) -- 2.50.1