This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] libffi, fix powerpc-unknown-freebsd
On Thu, Aug 21, 2008 at 5:53 PM, Andreas Tobler <andreast-list@fgznet.ch> wrote:
> Instead of playing with FFI_SYSV_TYPE_SMALL_STRUCT for bit shifts I
> introduced two new flags which tell us if we need r3 or r3 and r4 for
> structs passing.
>
> The issue is this, I need to tell the ppc_closure.S exactly which type I
> expect when returning. And unfortunatley the implementation needs a
> distinction for every type and size. Type 1 to 15 are already used, so I can
> start with using type 16 and up.
I mainly want a comment that two bits are used, especially in
ffitarget.h. Thanks for the additional explanation.
Okay with that.
Thanks, David