[PATCH 1/5] Fix {INLINE,INTERNAL}_SYSCALL macros for x32
Florian Weimer
fweimer@redhat.com
Thu Jun 29 18:51:00 GMT 2017
On 06/29/2017 04:15 PM, Adhemerval Zanella wrote:
> +/* Create a variable 'name' based on type 'X' to avoid explicit types.
> + This is mainly used set use 64-bits arguments in x32. */
> +#define TYPEFY(X, name) __typeof__ ((X) - (X)) name
> +/* Explicit cast the argument to avoid integer from pointer warning on
> + x32. */
> +#define ARGIFY(X) ((__typeof__ ((X) - (X))) (X))
I think cast_to_integer was added for this purpose.
Thanks,
Florian
More information about the Libc-alpha
mailing list