commit | 8fbf8deb34d0bd1efc22d2b67d660ad32ecc4c5c | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Nov 06 13:10:37 2013 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Nov 06 13:10:37 2013 -0800 |
tree | 8bd70629fb957b305d7558141aba87817fb1f324 | |
parent | c4dbc16eb03bcc0a3ea04cd32ce7551ad94b2bfc [diff] [blame] |
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
diff --git a/libc/arch-aarch64/syscalls/pwrite64.S b/libc/arch-aarch64/syscalls/pwrite64.S index ab4b502..9700aa3 100644 --- a/libc/arch-aarch64/syscalls/pwrite64.S +++ b/libc/arch-aarch64/syscalls/pwrite64.S
@@ -21,3 +21,6 @@ ret END(pwrite64) + + .globl _C_LABEL(pwrite) + .equ _C_LABEL(pwrite), _C_LABEL(pwrite64)