platform_bionic/libc/arch-sh/syscalls
David 'Digit' Turner 95d751feac libc: Add ftruncate64 and improve 64-bit parameter syscall handling.
This patch improves the handling of 64-bit parameters in syscalls on ARM.
The ARM EABI mandates that 64-bit quantities be passed in even/odd register
pairs, which requires special treatment.

This allows us to simplify our implementations of pread() and pwrite()
and remove the C stubs for pread64() and pwrite64().

Also add ftruncate64() to <unistd.h>

Change-Id: I407e2fd223ba0093dd2d0b04c6152fadfc9ce3ef

Bug 3107933
2010-12-16 17:04:41 +01:00
..
__brk.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__fcntl.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__fcntl64.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__fork.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__fstatfs64.S libc: fix fstatfs() implementation. 2010-07-08 16:52:27 -07:00
__getcpu.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
__getcwd.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__getpriority.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__ioctl.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__llseek.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__mmap2.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__open.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__openat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__ptrace.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__reboot.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__rt_sigaction.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__rt_sigprocmask.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__rt_sigtimedwait.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__sched_getaffinity.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
__set_thread_area.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__setresuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setreuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__setuid.S bonic: libc: cpuacct support for setuid functions 2010-03-02 18:18:04 -08:00
__sigsuspend.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__socketcall.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__statfs64.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__sys_clone.S Implement clone() C library function properly. 2010-01-25 11:18:30 -08:00
__syslog.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__timer_create.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__timer_delete.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__timer_getoverrun.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__timer_gettime.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__timer_settime.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__wait4.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
__waitid.S libc: Add missing waitid() implementation. 2010-09-28 09:18:26 +02:00
_exit.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
_exit_thread.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
_waitpid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
access.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
acct.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
capget.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
capset.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
chdir.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
chmod.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
chown.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
chroot.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
clock_getres.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
clock_gettime.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
clock_nanosleep.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
clock_settime.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
close.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
delete_module.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
dup.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
dup2.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
epoll_create.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
epoll_ctl.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
epoll_wait.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
eventfd.S libc: add <sys/eventfd.h> and corresponding implementations. 2010-09-28 09:20:37 +02:00
execve.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fchdir.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fchmod.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fchmodat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fchown.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fchownat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fdatasync.S libc: Add missing fdatasync() implementation 2010-09-28 09:17:17 +02:00
flock.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fstat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fstatat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
fsync.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
ftruncate.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
ftruncate64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
futex.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getdents.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getegid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
geteuid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getgroups.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getitimer.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getpgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getpid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getppid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getresgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getresuid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getrlimit.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getrusage.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
gettid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
gettimeofday.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
getuid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
init_module.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
inotify_add_watch.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
inotify_init.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
inotify_rm_watch.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
ioprio_get.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
ioprio_set.S bionic: syscalls: Add ioprio_set/ioprio_get syscall wrappers 2010-02-23 15:55:29 -08:00
kill.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
klogctl.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
lchown.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
link.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
lseek.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
lstat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
madvise.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mincore.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mkdir.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mkdirat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mknod.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mlock.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mount.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mprotect.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
mremap.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
msync.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
munlock.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
munmap.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
nanosleep.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
pause.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
pipe2.S libc: Add missing pipe2() declaration and implementation. 2010-09-27 17:33:08 +02:00
poll.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
prctl.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
pread64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
pwrite64.S libc: Add ftruncate64 and improve 64-bit parameter syscall handling. 2010-12-16 17:04:41 +01:00
read.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
readlink.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
readv.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
rename.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
renameat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
rmdir.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_get_priority_max.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_get_priority_min.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_getparam.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_getscheduler.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_rr_get_interval.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_setaffinity.S <sched.h>: Add sched_getcpu() and cpu_set_t 2010-12-06 13:42:54 +01:00
sched_setparam.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_setscheduler.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sched_yield.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
select.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sendfile.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setgroups.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setitimer.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setpgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setpriority.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setregid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setresgid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setrlimit.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
setsid.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
settimeofday.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sigaction.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sigaltstack.S add sigaltstack syscall 2010-03-02 11:43:24 +00:00
sigpending.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sigprocmask.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
stat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
symlink.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sync.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
sysinfo.S Add missing sysinfo() implementation (already declared in <sys/sysinfo.h>) - DO NOT MERGE 2010-06-09 13:12:15 -07:00
times.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
tkill.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
truncate.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
umask.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
umount2.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
uname.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
unlink.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
unlinkat.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
utimes.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
vfork.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
write.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00
writev.S added syscalls for SuperH which automatically generate by gensyscalls.py 2009-07-01 15:35:27 +09:00