Re: [PATCH 22/23] off_t: fix register pair calculation for 64-bit case

2016-06-28 Thread Joseph Myers
On Tue, 28 Jun 2016, Yury Norov wrote: > +weak_alias(__posix_fadvise64_l64, __posix_fadvise) Missing space before '('. > +weak_alias(__posix_fallocate64_l64, posix_fallocate) Likewise. -- Joseph S. Myers jos...@codesourcery.com

[PATCH 22/23] off_t: fix register pair calculation for 64-bit case

2016-06-28 Thread Yury Norov
There are 3 syscall wrappers under sysdeps/unix/sysv/linux that calculate register pair for off_t like this: __LONG_LONG_PAIR (offset >> 31, offset) While it works for 32-bit off_t, new 32-bit APIs that use 64-bit off_t will be broken with it. This patch redirects affected syscalls to thei