[PATCH 2/4] Consolidate off_t/off64_t syscall argument passing

Mike Frysinger vapier@gentoo.org
Sun Apr 10 04:14:00 GMT 2016


On 25 Feb 2016 17:19, Adhemerval Zanella wrote:
> --- a/sysdeps/unix/sysv/linux/sysdep.h
> +++ b/sysdeps/unix/sysv/linux/sysdep.h
>
> +/* Provide a dummy argument that can be used to force register
> +   alignment for register pairs if required by the syscall ABI.  */
> +#ifdef __ASSUME_ALIGNED_REGISTER_PAIRS
> +#define __ALIGNMENT_ARG 0,
> +#define __ALIGNMENT_COUNT(a,b) b
> +#else
> +#define __ALIGNMENT_ARG
> +#define __ALIGNMENT_COUNT(a,b) a
> +#endif

while not a new issue, should the return be parenthesized ?
i.e. (b) and (a) ?
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20160410/21bd4385/attachment.sig>


More information about the Libc-alpha mailing list