diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-12-16 17:17:41 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2013-12-16 17:17:41 +0000 |
commit | 77d4586cc47e8f4c02278afbc220145bba0d442b (patch) | |
tree | ba088e5e4c09032de0d5a4c06521c514a61352dd /patches/interix | |
parent | 7e282893378b9ea580e21e3ec48d2ad49d8735c0 (diff) | |
parent | 5c455874a36d62983b63c2ea33fdc861be417d18 (diff) | |
download | libffi-baserock/morph.tar.gz |
Merge branch 'baserock/pedroalvarez/power-port' into baserock/morphbaserock/morph
Reviewed-by: Ben Brown
Reviewed-by: Daniel Silverstone
Diffstat (limited to 'patches/interix')
-rw-r--r-- | patches/interix | 84 |
1 files changed, 0 insertions, 84 deletions
diff --git a/patches/interix b/patches/interix deleted file mode 100644 index fac2a2e..0000000 --- a/patches/interix +++ /dev/null @@ -1,84 +0,0 @@ -Index: libffi/configure -=================================================================== ---- libffi.orig/configure -+++ libffi/configure -@@ -12077,7 +12077,7 @@ case "$host" in - i?86-*-freebsd* | i?86-*-openbsd*) - TARGET=X86_FREEBSD; TARGETDIR=x86 - ;; -- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2*) -+ i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix*) - TARGET=X86_WIN32; TARGETDIR=x86 - # All mingw/cygwin/win32 builds require -no-undefined for sharedlib. - # We must also check with_cross_host to decide if this is a native -Index: libffi/configure.ac -=================================================================== ---- libffi.orig/configure.ac -+++ libffi/configure.ac -@@ -88,7 +88,7 @@ case "$host" in - i?86-*-freebsd* | i?86-*-openbsd*) - TARGET=X86_FREEBSD; TARGETDIR=x86 - ;; -- i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2*) -+ i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix*) - TARGET=X86_WIN32; TARGETDIR=x86 - # All mingw/cygwin/win32 builds require -no-undefined for sharedlib. - # We must also check with_cross_host to decide if this is a native -Index: libffi/src/closures.c -=================================================================== ---- libffi.orig/src/closures.c -+++ libffi/src/closures.c -@@ -198,11 +198,11 @@ static int dlmalloc_trim(size_t) MAYBE_U - static size_t dlmalloc_usable_size(void*) MAYBE_UNUSED; - static void dlmalloc_stats(void) MAYBE_UNUSED; - --#if !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) -+#if !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) || defined(__INTERIX) - /* Use these for mmap and munmap within dlmalloc.c. */ - static void *dlmmap(void *, size_t, int, int, int, off_t); - static int dlmunmap(void *, size_t); --#endif /* !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) */ -+#endif /* !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) || defined(__INTERIX) */ - - #define mmap dlmmap - #define munmap dlmunmap -@@ -212,7 +212,7 @@ static int dlmunmap(void *, size_t); - #undef mmap - #undef munmap - --#if !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) -+#if !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) || defined(__INTERIX) - - /* A mutex used to synchronize access to *exec* variables in this file. */ - static pthread_mutex_t open_temp_exec_file_mutex = PTHREAD_MUTEX_INITIALIZER; -@@ -527,7 +527,7 @@ segment_holding_code (mstate m, char* ad - } - #endif - --#endif /* !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) */ -+#endif /* !(defined(X86_WIN32) || defined(X86_WIN64) || defined(__OS2__)) || defined (__CYGWIN__) || defined(__INTERIX) */ - - /* Allocate a chunk of memory with the given size. Returns a pointer - to the writable address, and sets *CODE to the executable -Index: libffi/ChangeLog -=================================================================== ---- libffi.orig/ChangeLog -+++ libffi/ChangeLog -@@ -113,6 +113,17 @@ - - 2011-02-09 Anthony Green <green@moxielogic.com> - -+ * README: Mention Interix. -+ -+2011-02-09 Jonathan Callen <abcd@gentoo.org> -+ -+ * configure.ac: Add Interix to win32/cygwin/mingw case. -+ * configure: Ditto. -+ * src/closures.c: Treat Interix like Cygwin, instead of as a -+ generic win32. -+ -+2011-02-09 Anthony Green <green@moxielogic.com> -+ - * testsuite/libffi.call/err_bad_typedef.c: Remove xfail. - * testsuite/libffi.call/err_bad_abi.c: Remove xfail. - * src/x86/ffi64.c (UNLIKELY, LIKELY): Define. |