| Index: libffi/ChangeLog |
| =================================================================== |
| --- libffi.orig/ChangeLog |
| +++ libffi/ChangeLog |
| @@ -6,6 +6,11 @@ |
| (ffi_call): Silence possibly undefined warning. |
| (ffi_closure_helper_SYSV): Declare variable type. |
| |
| +2012-03-19 chennam <csit@axway.com> |
| + |
| + * src/powerpc/ffi_darwin.c (ffi_prep_closure_loc): Fix AIX closure |
| + support. |
| + |
| 2012-03-13 Kaz Kojima <kkojima@gcc.gnu.org> |
| |
| * src/sh/ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test, |
| Index: libffi/src/powerpc/ffi_darwin.c |
| =================================================================== |
| --- libffi.orig/src/powerpc/ffi_darwin.c |
| +++ libffi/src/powerpc/ffi_darwin.c |
| @@ -1065,10 +1065,10 @@ ffi_prep_closure_loc (ffi_closure* closu |
| closure->cif = cif; |
| closure->fun = fun; |
| closure->user_data = user_data; |
| + break; |
| |
| default: |
| - |
| - FFI_ASSERT(0); |
| + return FFI_BAD_ABI; |
| break; |
| } |
| return FFI_OK; |