OSDN Git Service

mips/syscall-error: Choose the correct version for setting up errno.
authorKhem Raj <raj.khem@gmail.com>
Wed, 30 Jun 2010 11:10:37 +0000 (04:10 -0700)
committerKhem Raj <raj.khem@gmail.com>
Wed, 30 Jun 2010 11:10:37 +0000 (04:10 -0700)
commit8b48f745be1e086d6e486bbb8167e770f3d1fbc5
tree80c28e847e50575b42a8a04ecebfd535d6d200f0
parent913b76abdd824ee3a6dbbc1527470ebcb8c06a65
mips/syscall-error: Choose the correct version for setting up errno.

* Current function is a C protype and PSEUDO macro does not
  transfer syscall return parameters to correct argument registers
  for a C function. This causes problem with syscalls setting wrong
  value for errno when they encounter an error.

* Fixes PR/2089 for mips/nptl

Signed-off-by: Khem Raj <raj.khem@gmail.com>
libc/sysdeps/linux/mips/Makefile.arch
libc/sysdeps/linux/mips/syscall_error.S
libpthread/nptl/sysdeps/mips/Makefile.arch