diff options
author | Kevin Cernekee <cernekee@gmail.com> | 2012-06-05 15:05:19 -0700 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-06 09:32:34 +0200 |
commit | 3c58d95d918c7e2fda374c37a52f81b34b81e4ca (patch) | |
tree | 9dcfccad6ca3f3743e5dd306b646959300948f87 /libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S | |
parent | da117419bdb39a4cb5035ebba46379f7c48738b3 (diff) |
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 <cernekee@gmail.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S index 7bbab5c59..238d79863 100644 --- a/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S +++ b/libpthread/linuxthreads/sysdeps/unix/sysv/linux/mips/vfork.S @@ -80,6 +80,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 |