mirror of
https://github.com/partic2/libffi
synced 2026-11-10 18:17:19 +00:00
Fix kfreebsd
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
Index: libffi/ChangeLog
|
||||
===================================================================
|
||||
--- libffi.orig/ChangeLog
|
||||
+++ libffi/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+2011-11-12 Petr Salinger <Petr.Salinger@seznam.cz>
|
||||
+
|
||||
+ * configure.ac (FFI_EXEC_TRAMPOLINE_TABLE): Fix kfreebsd support.
|
||||
+ * configure: Rebuilt.
|
||||
+
|
||||
2011-11-12 Timothy Wall <twall@users.sf.net>
|
||||
|
||||
* src/arm/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV): Max
|
||||
Index: libffi/configure
|
||||
===================================================================
|
||||
--- libffi.orig/configure
|
||||
+++ libffi/configure
|
||||
@@ -14297,7 +14297,7 @@ case "$target" in
|
||||
$as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h
|
||||
|
||||
;;
|
||||
- *-apple-darwin1[10]* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
+ *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
|
||||
$as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h
|
||||
|
||||
Index: libffi/configure.ac
|
||||
===================================================================
|
||||
--- libffi.orig/configure.ac
|
||||
+++ libffi/configure.ac
|
||||
@@ -339,7 +339,7 @@ case "$target" in
|
||||
[Cannot use PROT_EXEC on this target, so, we revert to
|
||||
alternative means])
|
||||
;;
|
||||
- *-apple-darwin1[[10]]* | *-*-freebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
+ *-apple-darwin1[[10]]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*)
|
||||
AC_DEFINE(FFI_MMAP_EXEC_WRIT, 1,
|
||||
[Cannot use malloc on this target, so, we revert to
|
||||
alternative means])
|
||||
@@ -2,7 +2,10 @@ Index: libffi/ChangeLog
|
||||
===================================================================
|
||||
--- libffi.orig/ChangeLog
|
||||
+++ libffi/ChangeLog
|
||||
@@ -1,3 +1,23 @@
|
||||
@@ -22,6 +22,26 @@
|
||||
X 10.7.
|
||||
* configure: Rebuilt.
|
||||
|
||||
+2011-11-12 Anthony Green <green@moxielogic.com>
|
||||
+
|
||||
+ * Makefile.am (AM_CCASFLAGS): Add -g option to build assembly
|
||||
@@ -129,7 +132,7 @@ Index: libffi/Makefile.in
|
||||
subdir = .
|
||||
DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \
|
||||
$(srcdir)/Makefile.in $(srcdir)/doc/stamp-vti \
|
||||
@@ -120,48 +121,49 @@ am__installdirs = "$(DESTDIR)$(libdir)"
|
||||
@@ -121,48 +122,49 @@ am__installdirs = "$(DESTDIR)$(libdir)"
|
||||
LTLIBRARIES = $(lib_LTLIBRARIES) $(noinst_LTLIBRARIES)
|
||||
libffi_la_LIBADD =
|
||||
am__dirstamp = $(am__leading_dot)dirstamp
|
||||
@@ -208,7 +211,7 @@ Index: libffi/Makefile.in
|
||||
nodist_libffi_la_OBJECTS = $(am__objects_1) $(am__objects_2) \
|
||||
$(am__objects_3) $(am__objects_4) $(am__objects_5) \
|
||||
$(am__objects_6) $(am__objects_7) $(am__objects_8) \
|
||||
@@ -171,17 +173,17 @@ nodist_libffi_la_OBJECTS = $(am__objects
|
||||
@@ -172,17 +174,17 @@ nodist_libffi_la_OBJECTS = $(am__objects
|
||||
$(am__objects_18) $(am__objects_19) $(am__objects_20) \
|
||||
$(am__objects_21) $(am__objects_22) $(am__objects_23) \
|
||||
$(am__objects_24) $(am__objects_25) $(am__objects_26) \
|
||||
@@ -231,7 +234,7 @@ Index: libffi/Makefile.in
|
||||
$(am__objects_4) $(am__objects_5) $(am__objects_6) \
|
||||
$(am__objects_7) $(am__objects_8) $(am__objects_9) \
|
||||
$(am__objects_10) $(am__objects_11) $(am__objects_12) \
|
||||
@@ -189,8 +191,9 @@ am__objects_29 = $(am__objects_1) $(am__
|
||||
@@ -190,8 +192,9 @@ am__objects_29 = $(am__objects_1) $(am__
|
||||
$(am__objects_16) $(am__objects_17) $(am__objects_18) \
|
||||
$(am__objects_19) $(am__objects_20) $(am__objects_21) \
|
||||
$(am__objects_22) $(am__objects_23) $(am__objects_24) \
|
||||
@@ -243,7 +246,7 @@ Index: libffi/Makefile.in
|
||||
libffi_convenience_la_OBJECTS = $(am_libffi_convenience_la_OBJECTS) \
|
||||
$(nodist_libffi_convenience_la_OBJECTS)
|
||||
DEFAULT_INCLUDES = -I.@am__isrc@
|
||||
@@ -488,7 +491,7 @@ MAKEOVERRIDES =
|
||||
@@ -489,7 +492,7 @@ MAKEOVERRIDES =
|
||||
ACLOCAL_AMFLAGS = $(ACLOCAL_AMFLAGS) -I m4
|
||||
lib_LTLIBRARIES = libffi.la
|
||||
noinst_LTLIBRARIES = libffi_convenience.la
|
||||
@@ -252,7 +255,7 @@ Index: libffi/Makefile.in
|
||||
src/raw_api.c src/java_raw_api.c src/closures.c
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
@@ -502,13 +505,13 @@ nodist_libffi_la_SOURCES = $(am__append_
|
||||
@@ -503,13 +506,13 @@ nodist_libffi_la_SOURCES = $(am__append_
|
||||
$(am__append_18) $(am__append_19) $(am__append_20) \
|
||||
$(am__append_21) $(am__append_22) $(am__append_23) \
|
||||
$(am__append_24) $(am__append_25) $(am__append_26) \
|
||||
@@ -269,7 +272,7 @@ Index: libffi/Makefile.in
|
||||
all: fficonfig.h
|
||||
$(MAKE) $(AM_MAKEFLAGS) all-recursive
|
||||
|
||||
@@ -613,12 +616,12 @@ src/$(am__dirstamp):
|
||||
@@ -614,12 +617,12 @@ src/$(am__dirstamp):
|
||||
src/$(DEPDIR)/$(am__dirstamp):
|
||||
@$(MKDIR_P) src/$(DEPDIR)
|
||||
@: > src/$(DEPDIR)/$(am__dirstamp)
|
||||
|
||||
@@ -30,6 +30,7 @@ more-openbsd-mips
|
||||
darwin11
|
||||
powerpc-sysv-without-string-ops
|
||||
windows-ce-arm
|
||||
kfreebsd-mmap
|
||||
minix
|
||||
|
||||
interix-patch
|
||||
|
||||
@@ -46,3 +46,16 @@ Index: libffi/src/arm/ffi.c
|
||||
/* Align if necessary */
|
||||
if ((alignment - 1) & (unsigned) argp) {
|
||||
argp = (char *) ALIGN(argp, alignment);
|
||||
Index: libffi/ChangeLog
|
||||
===================================================================
|
||||
--- libffi.orig/ChangeLog
|
||||
+++ libffi/ChangeLog
|
||||
@@ -1,3 +1,8 @@
|
||||
+2011-11-12 Timothy Wall <twall@users.sf.net>
|
||||
+
|
||||
+ * src/arm/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV): Max
|
||||
+ alignment of 4 for wince on ARM.
|
||||
+
|
||||
2011-11-12 Kyle Moffett <Kyle.D.Moffett@boeing.com>
|
||||
Anthony Green <green@moxielogic.com>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user