]> git.proxmox.com Git - qemu.git/commit
linux-user: Merge pread/pwrite into pread64/pwrite64
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 12 Oct 2012 03:55:51 +0000 (03:55 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 8 Dec 2012 18:49:30 +0000 (18:49 +0000)
commit24c35a504e8b09e697d0268bbefb2a329b901611
treea20bed13981d69cc37e6855e3d354e896a283ef5
parentf877d09e63bd94424dab049da75bc1cd601a7609
linux-user: Merge pread/pwrite into pread64/pwrite64

The Linux syscalls underlying pread() and pwrite() take a 64 bit
offset on all architectures, even if some of them name the syscall
"pread/pwrite" rather than "pread64/pwrite64" for historical reasons.
So move the four QEMU target architectures (arm, i386, sparc,
unicore32) which were defining TARGET_NR_pread/pwrite to define
TARGET_NR_pread64/pwrite64 instead, and drop the TARGET_NR_pread/pwrite
implementation code completely.

(Based on examination of the kernel sources for the four architectures
this patch affects.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
linux-user/arm/syscall_nr.h
linux-user/i386/syscall_nr.h
linux-user/sparc/syscall_nr.h
linux-user/strace.list
linux-user/syscall.c
linux-user/unicore32/syscall_nr.h