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

@@ -17,3 +17,6 @@ ENTRY(pread64)
1:
ret
END(pread64)
.globl _C_LABEL(pread)
.equ _C_LABEL(pread), _C_LABEL(pread64)