[patch] libffi darwin structure implementation (PPC)

Andrew Haley aph@redhat.com
Sat Aug 30 10:11:00 GMT 2003


Andreas Tobler writes:
 > Andrew Pinski wrote:
 > 
 > 
 > > Also change the following so they do not use cats as lvalue GCC
 > > extension as we really want to get rid of it:
 > > 
 > > +      *(void **) &tramp[2] = (void *)ffi_closure_ASM; /* function  */
 > > +      *(void **) &tramp[3] = (void *)closure;         /* context  */
 > 
 > Ok, have to figure out what you mean exactly. I guess you mean 'casts' ?

I think he means 

   tramp[3] = (unsigned int) ffi_closure_ASM; /* function  */

Andrew.



More information about the Gcc-patches mailing list