From 3c58d95d918c7e2fda374c37a52f81b34b81e4ca Mon Sep 17 00:00:00 2001 From: Kevin Cernekee Date: Tue, 5 Jun 2012 15:05:19 -0700 Subject: MIPS: Convert __syscall_error() callers to use $a0 for argument Some callers passed the first argument in $v0, while others used $a0. Change the callers to use $a0 consistently. Signed-off-by: Kevin Cernekee Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/mips/vfork.S | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/mips/vfork.S') diff --git a/libc/sysdeps/linux/mips/vfork.S b/libc/sysdeps/linux/mips/vfork.S index b30744759..00cc675fa 100644 --- a/libc/sysdeps/linux/mips/vfork.S +++ b/libc/sysdeps/linux/mips/vfork.S @@ -84,6 +84,7 @@ NESTED(__vfork,FRAMESZ,sp) /* Something bad happened -- no child created. */ L(error): + move a0, v0 #ifdef __PIC__ PTR_LA t9, __syscall_error RESTORE_GP64 -- cgit v1.2.3