fix pread/pwrite syscall calling convention on sh
authorRich Felker <dalias@aerifal.cx>
Thu, 11 Aug 2016 22:36:46 +0000 (18:36 -0400)
committerRich Felker <dalias@aerifal.cx>
Thu, 11 Aug 2016 22:36:46 +0000 (18:36 -0400)
commit7cc3a28eed7e3b72a1ce4568fb55154bb0540726
treee26aaecd58946d49e6648a4788fbb7ddc6c1ef43
parent39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e
fix pread/pwrite syscall calling convention on sh

despite sh not generally using register-pair alignment for 64-bit
syscall arguments, there are arch-specific versions of the syscall
entry points for pread and pwrite which include a dummy argument for
alignment before the 64-bit offset argument.
arch/sh/syscall_arch.h
src/internal/syscall.h
src/unistd/pread.c
src/unistd/pwrite.c