OSDN Git Service

Fix pread/pwrite for LP64.
authorElliott Hughes <enh@google.com>
Wed, 6 Nov 2013 21:10:37 +0000 (13:10 -0800)
committerElliott Hughes <enh@google.com>
Wed, 6 Nov 2013 21:10:37 +0000 (13:10 -0800)
commit8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c
tree8bd70629fb957b305d7558141aba87817fb1f324
parentc4dbc16eb03bcc0a3ea04cd32ce7551ad94b2bfc
Fix pread/pwrite for LP64.

Unlike on 32-bit systems where off_t is 32-bit, we don't want to
throw away the top 32 bits of an LP64 system's 64-bit off_t.

Change-Id: Ib2e0daeb4fc0b8ab3d1b983d0b371d8f81033b50
libc/Android.mk
libc/SYSCALLS.TXT
libc/arch-aarch64/syscalls/pread64.S
libc/arch-aarch64/syscalls/pwrite64.S
libc/arch-x86_64/syscalls/pread64.S
libc/arch-x86_64/syscalls/pwrite64.S