* commit '3721a7e71fc831f6d58b7253627043d0658ad977': Fix pread/pwrite for LP64.
This commit is contained in:
commit
c606294b93
@ -107,11 +107,9 @@ libc_common_src_files := \
|
|||||||
bionic/name_mem.c \
|
bionic/name_mem.c \
|
||||||
bionic/pathconf.c \
|
bionic/pathconf.c \
|
||||||
bionic/perror.c \
|
bionic/perror.c \
|
||||||
bionic/pread.c \
|
|
||||||
bionic/ptsname.c \
|
bionic/ptsname.c \
|
||||||
bionic/ptsname_r.c \
|
bionic/ptsname_r.c \
|
||||||
bionic/pututline.c \
|
bionic/pututline.c \
|
||||||
bionic/pwrite.c \
|
|
||||||
bionic/reboot.c \
|
bionic/reboot.c \
|
||||||
bionic/recv.c \
|
bionic/recv.c \
|
||||||
bionic/sched_cpualloc.c \
|
bionic/sched_cpualloc.c \
|
||||||
@ -181,6 +179,8 @@ libc_common_src_files += \
|
|||||||
bionic/__get_tls.cpp \
|
bionic/__get_tls.cpp \
|
||||||
bionic/lseek64.c \
|
bionic/lseek64.c \
|
||||||
bionic/ndk_cruft.cpp \
|
bionic/ndk_cruft.cpp \
|
||||||
|
bionic/pread.c \
|
||||||
|
bionic/pwrite.c \
|
||||||
bionic/statfs.c \
|
bionic/statfs.c \
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
@ -88,8 +88,10 @@ int acct(const char* filepath) all
|
|||||||
# file descriptors
|
# file descriptors
|
||||||
ssize_t read(int, void*, size_t) all
|
ssize_t read(int, void*, size_t) all
|
||||||
ssize_t write(int, const void*, size_t) all
|
ssize_t write(int, const void*, size_t) all
|
||||||
ssize_t pread64(int, void*, size_t, off64_t) all
|
ssize_t pread64(int, void*, size_t, off64_t) arm,mips,x86
|
||||||
ssize_t pwrite64(int, void*, size_t, off64_t) all
|
ssize_t pread64|pread(int, void*, size_t, off_t) aarch64,x86_64
|
||||||
|
ssize_t pwrite64(int, void*, size_t, off64_t) arm,mips,x86
|
||||||
|
ssize_t pwrite64|pwrite(int, void*, size_t, off_t) aarch64,x86_64
|
||||||
int close(int) all
|
int close(int) all
|
||||||
pid_t getpid() all
|
pid_t getpid() all
|
||||||
void* mmap(void*, size_t, int, int, int, long) aarch64,x86_64
|
void* mmap(void*, size_t, int, int, int, long) aarch64,x86_64
|
||||||
|
@ -21,3 +21,6 @@ ENTRY(pread64)
|
|||||||
|
|
||||||
ret
|
ret
|
||||||
END(pread64)
|
END(pread64)
|
||||||
|
|
||||||
|
.globl _C_LABEL(pread)
|
||||||
|
.equ _C_LABEL(pread), _C_LABEL(pread64)
|
||||||
|
@ -21,3 +21,6 @@ ENTRY(pwrite64)
|
|||||||
|
|
||||||
ret
|
ret
|
||||||
END(pwrite64)
|
END(pwrite64)
|
||||||
|
|
||||||
|
.globl _C_LABEL(pwrite)
|
||||||
|
.equ _C_LABEL(pwrite), _C_LABEL(pwrite64)
|
||||||
|
@ -17,3 +17,6 @@ ENTRY(pread64)
|
|||||||
1:
|
1:
|
||||||
ret
|
ret
|
||||||
END(pread64)
|
END(pread64)
|
||||||
|
|
||||||
|
.globl _C_LABEL(pread)
|
||||||
|
.equ _C_LABEL(pread), _C_LABEL(pread64)
|
||||||
|
@ -17,3 +17,6 @@ ENTRY(pwrite64)
|
|||||||
1:
|
1:
|
||||||
ret
|
ret
|
||||||
END(pwrite64)
|
END(pwrite64)
|
||||||
|
|
||||||
|
.globl _C_LABEL(pwrite)
|
||||||
|
.equ _C_LABEL(pwrite), _C_LABEL(pwrite64)
|
||||||
|
Loading…
Reference in New Issue
Block a user