OSDN Git Service

libc: fix mips N64 pread/pwrite build
authorSteve Ellcey <sellcey@mips.com>
Thu, 13 Feb 2014 22:33:03 +0000 (14:33 -0800)
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Wed, 12 Mar 2014 20:00:24 +0000 (21:00 +0100)
commit5eddde8f094ef52dca06695cc598e3b2556dcccb
tree70d19b16ba3dbedd99ad56e694da626dadaaaa0b
parenta20a91ad7c042c46e4a2adee6d03315f857f9985
libc: fix mips N64 pread/pwrite build

Uclibc is not building for MIPS N64 because pread is trying to use the
pread/pwrite system calls instead of pread64/pwrite64.  This patch fixes
the problem and was tested with LFS enabled and disabled.

Signed-off-by: Steve Ellcey <sellcey@mips.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
libc/sysdeps/linux/mips/pread_write.c