This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
Re: [PATCH] Implement libffi for AARCH64:ILP32
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Pinski <pinskia at gmail dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>, "libffi-discuss at sourceware dot org" <libffi-discuss at sourceware dot org>
- Date: Tue, 10 Feb 2015 10:35:49 -0800
- Subject: Re: [PATCH] Implement libffi for AARCH64:ILP32
- Authentication-results: sourceware.org; auth=none
- References: <CA+=Sn1m6s93Gvuv7OvCGciYfbLWdmQYkqm8m7ruQn7DL2pXZ3w at mail dot gmail dot com>
On 02/09/2015 12:40 AM, Andrew Pinski wrote:
> #ifndef LIBFFI_ASM
> +#ifdef __ILP32__
> +typedef unsigned long long ffi_arg;
> +typedef signed long long ffi_sarg;
> +#else
You need to set FFI_SIZEOF_ARG too.
Otherwise it looks ok.
r~