More cygwin fixes
This commit is contained in:
30
patches/aix-fix
Normal file
30
patches/aix-fix
Normal file
@@ -0,0 +1,30 @@
|
||||
Index: libffi/ChangeLog
|
||||
===================================================================
|
||||
--- libffi.orig/ChangeLog
|
||||
+++ libffi/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+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;
|
||||
Reference in New Issue
Block a user