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
This commit is contained in:
Elliott Hughes
2013-11-06 13:10:37 -08:00
parent c4dbc16eb0
commit 8fbf8deb34
6 changed files with 18 additions and 4 deletions

View File

@@ -21,3 +21,6 @@ ENTRY(pwrite64)
ret
END(pwrite64)
.globl _C_LABEL(pwrite)
.equ _C_LABEL(pwrite), _C_LABEL(pwrite64)