mirror of
https://github.com/partic2/libffi
synced 2026-11-11 02:27:19 +00:00
Release 3.0.9rc5
This commit is contained in:
+23
-10
@@ -1,7 +1,7 @@
|
||||
Index: plibffi/src/closures.c
|
||||
Index: alibffi/src/closures.c
|
||||
===================================================================
|
||||
--- plibffi.orig/src/closures.c
|
||||
+++ plibffi/src/closures.c
|
||||
--- alibffi.orig/src/closures.c
|
||||
+++ alibffi/src/closures.c
|
||||
@@ -214,6 +214,8 @@ static int dlmunmap(void *, size_t);
|
||||
|
||||
#if !(defined(X86_WIN32) || defined(X86_WIN64)) || defined (__CYGWIN__)
|
||||
@@ -39,10 +39,10 @@ Index: plibffi/src/closures.c
|
||||
/* Release memory at the given address, as well as the corresponding
|
||||
executable page if it's separate. */
|
||||
static int
|
||||
Index: plibffi/ChangeLog.libffi
|
||||
Index: alibffi/ChangeLog.libffi
|
||||
===================================================================
|
||||
--- plibffi.orig/ChangeLog.libffi
|
||||
+++ plibffi/ChangeLog.libffi
|
||||
--- alibffi.orig/ChangeLog.libffi
|
||||
+++ alibffi/ChangeLog.libffi
|
||||
@@ -1,3 +1,11 @@
|
||||
+2009-10-27 Abdulaziz Ghuloum <aghuloum@gmail.com>
|
||||
+
|
||||
@@ -55,16 +55,16 @@ Index: plibffi/ChangeLog.libffi
|
||||
2009-10-05 Bradley Smith <brad@brad-smith.co.uk>
|
||||
|
||||
* configure.ac, Makefile.am, src/avr32/ffi.c,
|
||||
Index: plibffi/configure.ac
|
||||
Index: alibffi/configure.ac
|
||||
===================================================================
|
||||
--- plibffi.orig/configure.ac
|
||||
+++ plibffi/configure.ac
|
||||
--- alibffi.orig/configure.ac
|
||||
+++ alibffi/configure.ac
|
||||
@@ -274,6 +274,14 @@ if test x$TARGET = xX86 || test x$TARGET
|
||||
fi
|
||||
fi
|
||||
|
||||
+case "$target" in
|
||||
+ i?86-apple-darwin10*)
|
||||
+ *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
+ AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
|
||||
+ [Cannot use malloc on this target, so, we revert to
|
||||
+ alternative means])
|
||||
@@ -74,3 +74,16 @@ Index: plibffi/configure.ac
|
||||
AC_CACHE_CHECK([whether .eh_frame section should be read-only],
|
||||
libffi_cv_ro_eh_frame, [
|
||||
libffi_cv_ro_eh_frame=no
|
||||
Index: alibffi/configure
|
||||
===================================================================
|
||||
--- alibffi.orig/configure
|
||||
+++ alibffi/configure
|
||||
@@ -14498,7 +14498,7 @@ _ACEOF
|
||||
fi
|
||||
|
||||
case "$target" in
|
||||
- i?86-apple-darwin10*)
|
||||
+ *-apple-darwin10* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
|
||||
cat >>confdefs.h <<\_ACEOF
|
||||
#define FFI_MMAP_EXEC_WRIT 1
|
||||
|
||||
Reference in New Issue
Block a user