From 296895f1a96f7340e565fa5fc6074b85b29fd8cf Mon Sep 17 00:00:00 2001 From: Chris Dearman Date: Wed, 20 Aug 2014 16:39:47 -0700 Subject: [PATCH] MIPS64 syscall() arguments The seventh argument for syscall is passed in a register, not on the stack Change-Id: Idb69fac77d1f710cff5a3ab4ae1259feb61ae69d --- libc/arch-mips64/bionic/syscall.S | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/arch-mips64/bionic/syscall.S b/libc/arch-mips64/bionic/syscall.S index c4fd00995..e3710f8ce 100644 --- a/libc/arch-mips64/bionic/syscall.S +++ b/libc/arch-mips64/bionic/syscall.S @@ -52,7 +52,7 @@ LEAF(syscall,FRAMESZ) #else move a3, a4 move a4, a5 - REG_L a5, FRAMESZ(sp) + move a5, a6 #endif syscall move a0, v0