summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Green <green@moxielogic.com>2012-10-31 06:46:41 -0400
committerAnthony Green <green@moxielogic.com>2012-10-31 06:46:41 -0400
commitdfadfb19853c57c8623c436d0ef2bdafab24b433 (patch)
treeacce1006813e51c91d1475d35e583d6271f01263
parente944b8c7eb1e2eeb9c0f3b9742b4d7f476860ce1 (diff)
downloadlibffi-dfadfb19853c57c8623c436d0ef2bdafab24b433.tar.gz
Rebase for ppc64 fix
-rw-r--r--.pc/aarch64/ChangeLog5
-rw-r--r--.pc/aix-fix/ChangeLog5
-rw-r--r--.pc/apple-fixes/ChangeLog5
-rw-r--r--.pc/bfin/ChangeLog5
-rw-r--r--.pc/darwin-missing-semi/ChangeLog5
-rw-r--r--.pc/darwin12/ChangeLog5
-rw-r--r--.pc/dist-tests/ChangeLog5
-rw-r--r--.pc/emutramp/ChangeLog5
-rw-r--r--.pc/emutramp/fficonfig.h.in196
-rw-r--r--.pc/icc128/ChangeLog5
-rw-r--r--.pc/ios-fix/ChangeLog5
-rw-r--r--.pc/mint/ChangeLog5
-rw-r--r--.pc/msvc-changes/ChangeLog5
-rw-r--r--.pc/tile/ChangeLog5
-rw-r--r--.pc/update-disty/ChangeLog5
-rw-r--r--.pc/vararg_float_test_fix/ChangeLog5
-rw-r--r--.pc/vfp-eabi/ChangeLog5
-rw-r--r--.pc/whitespace-fix/ChangeLog5
-rw-r--r--.pc/win32-return-sign/ChangeLog5
-rw-r--r--.pc/win32/ChangeLog5
-rw-r--r--.pc/win32_tests/ChangeLog5
-rw-r--r--.pc/x32libtool/ChangeLog5
-rw-r--r--.pc/xcode-improvements/ChangeLog5
-rw-r--r--.pc/xcode/ChangeLog5
-rw-r--r--ChangeLog5
-rw-r--r--patches/aarch645
-rw-r--r--patches/aix-fix2
-rw-r--r--patches/apple-fixes2
-rw-r--r--patches/bfin2
-rw-r--r--patches/darwin-missing-semi2
-rw-r--r--patches/darwin125
-rw-r--r--patches/dist-tests2
-rw-r--r--patches/emutramp5
-rw-r--r--patches/icc1282
-rw-r--r--patches/ios-fix2
-rw-r--r--patches/mint4
-rw-r--r--patches/msvc-changes4
-rw-r--r--patches/tile5
-rw-r--r--patches/update-disty2
-rw-r--r--patches/vararg_float_test_fix2
-rw-r--r--patches/vfp-eabi2
-rw-r--r--patches/whitespace-fix5
-rw-r--r--patches/win322
-rw-r--r--patches/win32-return-sign2
-rw-r--r--patches/win32_tests2
-rw-r--r--patches/x32libtool2
-rw-r--r--patches/xcode2
-rw-r--r--patches/xcode-improvements2
-rw-r--r--src/powerpc/linux64.S21
-rw-r--r--src/powerpc/linux64_closure.S20
50 files changed, 197 insertions, 225 deletions
diff --git a/.pc/aarch64/ChangeLog b/.pc/aarch64/ChangeLog
index 596609c..51ac025 100644
--- a/.pc/aarch64/ChangeLog
+++ b/.pc/aarch64/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-10-12 Walter Lee <walt@tilera.com>
* Makefile.am: Add TILE-Gx/TILEPro support.
diff --git a/.pc/aix-fix/ChangeLog b/.pc/aix-fix/ChangeLog
index 9d31a06..56d7725 100644
--- a/.pc/aix-fix/ChangeLog
+++ b/.pc/aix-fix/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/apple-fixes/ChangeLog b/.pc/apple-fixes/ChangeLog
index 54d1e6c..08a516d 100644
--- a/.pc/apple-fixes/ChangeLog
+++ b/.pc/apple-fixes/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/bfin/ChangeLog b/.pc/bfin/ChangeLog
index 7a57f0b..84d1580 100644
--- a/.pc/bfin/ChangeLog
+++ b/.pc/bfin/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/darwin-missing-semi/ChangeLog b/.pc/darwin-missing-semi/ChangeLog
index 27bc680..d6c8f02 100644
--- a/.pc/darwin-missing-semi/ChangeLog
+++ b/.pc/darwin-missing-semi/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/darwin12/ChangeLog b/.pc/darwin12/ChangeLog
index 3c972c1..f1624db 100644
--- a/.pc/darwin12/ChangeLog
+++ b/.pc/darwin12/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-10-30 James Greenhalgh <james.greenhalgh at arm.com>
Marcus Shawcroft <marcus.shawcroft at arm.com>
diff --git a/.pc/dist-tests/ChangeLog b/.pc/dist-tests/ChangeLog
index 3103d48..f35bba3 100644
--- a/.pc/dist-tests/ChangeLog
+++ b/.pc/dist-tests/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/emutramp/ChangeLog b/.pc/emutramp/ChangeLog
index 5646484..fcb7c97 100644
--- a/.pc/emutramp/ChangeLog
+++ b/.pc/emutramp/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-10-30 Frederick Cheung <frederick.cheung@gmail.com>
* configure.ac: Enable FFI_MAP_EXEC_WRIT for Darwin 12 (mountain
diff --git a/.pc/emutramp/fficonfig.h.in b/.pc/emutramp/fficonfig.h.in
deleted file mode 100644
index b54b273..0000000
--- a/.pc/emutramp/fficonfig.h.in
+++ /dev/null
@@ -1,196 +0,0 @@
-/* fficonfig.h.in. Generated from configure.ac by autoheader. */
-
-/* Define if building universal (internal helper macro) */
-#undef AC_APPLE_UNIVERSAL_BUILD
-
-/* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
- systems. This function is required for `alloca.c' support on those systems.
- */
-#undef CRAY_STACKSEG_END
-
-/* Define to 1 if using `alloca.c'. */
-#undef C_ALLOCA
-
-/* Define to the flags needed for the .section .eh_frame directive. */
-#undef EH_FRAME_FLAGS
-
-/* Define this if you want extra debugging. */
-#undef FFI_DEBUG
-
-/* Cannot use PROT_EXEC on this target, so, we revert to alternative means */
-#undef FFI_EXEC_TRAMPOLINE_TABLE
-
-/* Cannot use malloc on this target, so, we revert to alternative means */
-#undef FFI_MMAP_EXEC_WRIT
-
-/* Define this is you do not want support for the raw API. */
-#undef FFI_NO_RAW_API
-
-/* Define this is you do not want support for aggregate types. */
-#undef FFI_NO_STRUCTS
-
-/* Define to 1 if you have `alloca', as a function or macro. */
-#undef HAVE_ALLOCA
-
-/* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
- */
-#undef HAVE_ALLOCA_H
-
-/* Define if your assembler supports .ascii. */
-#undef HAVE_AS_ASCII_PSEUDO_OP
-
-/* Define if your assembler supports .cfi_* directives. */
-#undef HAVE_AS_CFI_PSEUDO_OP
-
-/* Define if your assembler supports .register. */
-#undef HAVE_AS_REGISTER_PSEUDO_OP
-
-/* Define if your assembler and linker support unaligned PC relative relocs.
- */
-#undef HAVE_AS_SPARC_UA_PCREL
-
-/* Define if your assembler supports .string. */
-#undef HAVE_AS_STRING_PSEUDO_OP
-
-/* Define if your assembler supports unwind section type. */
-#undef HAVE_AS_X86_64_UNWIND_SECTION_TYPE
-
-/* Define if your assembler supports PC relative relocs. */
-#undef HAVE_AS_X86_PCREL
-
-/* Define to 1 if you have the <dlfcn.h> header file. */
-#undef HAVE_DLFCN_H
-
-/* Define if __attribute__((visibility("hidden"))) is supported. */
-#undef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
-
-/* Define to 1 if you have the <inttypes.h> header file. */
-#undef HAVE_INTTYPES_H
-
-/* Define if you have the long double type and it is bigger than a double */
-#undef HAVE_LONG_DOUBLE
-
-/* Define to 1 if you have the `memcpy' function. */
-#undef HAVE_MEMCPY
-
-/* Define to 1 if you have the <memory.h> header file. */
-#undef HAVE_MEMORY_H
-
-/* Define to 1 if you have the `mmap' function. */
-#undef HAVE_MMAP
-
-/* Define if mmap with MAP_ANON(YMOUS) works. */
-#undef HAVE_MMAP_ANON
-
-/* Define if mmap of /dev/zero works. */
-#undef HAVE_MMAP_DEV_ZERO
-
-/* Define if read-only mmap of a plain file works. */
-#undef HAVE_MMAP_FILE
-
-/* Define if .eh_frame sections should be read-only. */
-#undef HAVE_RO_EH_FRAME
-
-/* Define to 1 if you have the <stdint.h> header file. */
-#undef HAVE_STDINT_H
-
-/* Define to 1 if you have the <stdlib.h> header file. */
-#undef HAVE_STDLIB_H
-
-/* Define to 1 if you have the <strings.h> header file. */
-#undef HAVE_STRINGS_H
-
-/* Define to 1 if you have the <string.h> header file. */
-#undef HAVE_STRING_H
-
-/* Define to 1 if you have the <sys/mman.h> header file. */
-#undef HAVE_SYS_MMAN_H
-
-/* Define to 1 if you have the <sys/stat.h> header file. */
-#undef HAVE_SYS_STAT_H
-
-/* Define to 1 if you have the <sys/types.h> header file. */
-#undef HAVE_SYS_TYPES_H
-
-/* Define to 1 if you have the <unistd.h> header file. */
-#undef HAVE_UNISTD_H
-
-/* Define to the sub-directory in which libtool stores uninstalled libraries.
- */
-#undef LT_OBJDIR
-
-/* Define to 1 if your C compiler doesn't accept -c and -o together. */
-#undef NO_MINUS_C_MINUS_O
-
-/* Name of package */
-#undef PACKAGE
-
-/* Define to the address where bug reports for this package should be sent. */
-#undef PACKAGE_BUGREPORT
-
-/* Define to the full name of this package. */
-#undef PACKAGE_NAME
-
-/* Define to the full name and version of this package. */
-#undef PACKAGE_STRING
-
-/* Define to the one symbol short name of this package. */
-#undef PACKAGE_TARNAME
-
-/* Define to the home page for this package. */
-#undef PACKAGE_URL
-
-/* Define to the version of this package. */
-#undef PACKAGE_VERSION
-
-/* The size of `double', as computed by sizeof. */
-#undef SIZEOF_DOUBLE
-
-/* The size of `long double', as computed by sizeof. */
-#undef SIZEOF_LONG_DOUBLE
-
-/* If using the C implementation of alloca, define if you know the
- direction of stack growth for your system; otherwise it will be
- automatically deduced at runtime.
- STACK_DIRECTION > 0 => grows toward higher addresses
- STACK_DIRECTION < 0 => grows toward lower addresses
- STACK_DIRECTION = 0 => direction of growth unknown */
-#undef STACK_DIRECTION
-
-/* Define to 1 if you have the ANSI C header files. */
-#undef STDC_HEADERS
-
-/* Define this if you are using Purify and want to suppress spurious messages.
- */
-#undef USING_PURIFY
-
-/* Version number of package */
-#undef VERSION
-
-/* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
- significant byte first (like Motorola and SPARC, unlike Intel). */
-#if defined AC_APPLE_UNIVERSAL_BUILD
-# if defined __BIG_ENDIAN__
-# define WORDS_BIGENDIAN 1
-# endif
-#else
-# ifndef WORDS_BIGENDIAN
-# undef WORDS_BIGENDIAN
-# endif
-#endif
-
-
-#ifdef HAVE_HIDDEN_VISIBILITY_ATTRIBUTE
-#ifdef LIBFFI_ASM
-#define FFI_HIDDEN(name) .hidden name
-#else
-#define FFI_HIDDEN __attribute__ ((visibility ("hidden")))
-#endif
-#else
-#ifdef LIBFFI_ASM
-#define FFI_HIDDEN(name)
-#else
-#define FFI_HIDDEN
-#endif
-#endif
-
diff --git a/.pc/icc128/ChangeLog b/.pc/icc128/ChangeLog
index af657c6..9ff9d6f 100644
--- a/.pc/icc128/ChangeLog
+++ b/.pc/icc128/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/ios-fix/ChangeLog b/.pc/ios-fix/ChangeLog
index 1209bcb..1ac5158 100644
--- a/.pc/ios-fix/ChangeLog
+++ b/.pc/ios-fix/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/mint/ChangeLog b/.pc/mint/ChangeLog
index ef326b2..7fabdab 100644
--- a/.pc/mint/ChangeLog
+++ b/.pc/mint/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/msvc-changes/ChangeLog b/.pc/msvc-changes/ChangeLog
index 12a4ff2..56ce480 100644
--- a/.pc/msvc-changes/ChangeLog
+++ b/.pc/msvc-changes/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/tile/ChangeLog b/.pc/tile/ChangeLog
index e3535bd..96b0952 100644
--- a/.pc/tile/ChangeLog
+++ b/.pc/tile/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-10-12 Matthias Klose <doko@ubuntu.com>
* generate-osx-source-and-headers.py: Normalize whitespace.
diff --git a/.pc/update-disty/ChangeLog b/.pc/update-disty/ChangeLog
index 329e7ed..ad74009 100644
--- a/.pc/update-disty/ChangeLog
+++ b/.pc/update-disty/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/vararg_float_test_fix/ChangeLog b/.pc/vararg_float_test_fix/ChangeLog
index b58ca5a..76c469f 100644
--- a/.pc/vararg_float_test_fix/ChangeLog
+++ b/.pc/vararg_float_test_fix/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/vfp-eabi/ChangeLog b/.pc/vfp-eabi/ChangeLog
index 0033179..5e8f892 100644
--- a/.pc/vfp-eabi/ChangeLog
+++ b/.pc/vfp-eabi/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/whitespace-fix/ChangeLog b/.pc/whitespace-fix/ChangeLog
index 6984b0a..2d7d98a 100644
--- a/.pc/whitespace-fix/ChangeLog
+++ b/.pc/whitespace-fix/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/win32-return-sign/ChangeLog b/.pc/win32-return-sign/ChangeLog
index f68982b..4e4fd7a 100644
--- a/.pc/win32-return-sign/ChangeLog
+++ b/.pc/win32-return-sign/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/win32/ChangeLog b/.pc/win32/ChangeLog
index 9b188bf..1f68217 100644
--- a/.pc/win32/ChangeLog
+++ b/.pc/win32/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/win32_tests/ChangeLog b/.pc/win32_tests/ChangeLog
index 00161a0..2008d86 100644
--- a/.pc/win32_tests/ChangeLog
+++ b/.pc/win32_tests/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/x32libtool/ChangeLog b/.pc/x32libtool/ChangeLog
index e0e3f97..f93ca07 100644
--- a/.pc/x32libtool/ChangeLog
+++ b/.pc/x32libtool/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/xcode-improvements/ChangeLog b/.pc/xcode-improvements/ChangeLog
index 8087dfc..98b1864 100644
--- a/.pc/xcode-improvements/ChangeLog
+++ b/.pc/xcode-improvements/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/.pc/xcode/ChangeLog b/.pc/xcode/ChangeLog
index 29c7402..0c60f66 100644
--- a/.pc/xcode/ChangeLog
+++ b/.pc/xcode/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-09-14 David Edelsohn <dje.gcc@gmail.com>
* configure: Regenerated.
diff --git a/ChangeLog b/ChangeLog
index 176b51b..ccbd9ee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2012-10-31 Alan Modra <amodra@gmail.com>
+
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
2012-10-30 Magnus Granberg <zorry@gentoo.org>
Pavel Labushev <pavel.labushev@runbox.ru>
diff --git a/patches/aarch64 b/patches/aarch64
index daada51..50d0ba7 100644
--- a/patches/aarch64
+++ b/patches/aarch64
@@ -2596,7 +2596,10 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,27 @@
+@@ -3,6 +3,30 @@
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
+2012-10-30 James Greenhalgh <james.greenhalgh at arm.com>
+ Marcus Shawcroft <marcus.shawcroft at arm.com>
+
diff --git a/patches/aix-fix b/patches/aix-fix
index 4659597..7f2a090 100644
--- a/patches/aix-fix
+++ b/patches/aix-fix
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -32,6 +32,11 @@
+@@ -37,6 +37,11 @@
(ffi_call): Silence possibly undefined warning.
(ffi_closure_helper_SYSV): Declare variable type.
diff --git a/patches/apple-fixes b/patches/apple-fixes
index ac936de..eff6b60 100644
--- a/patches/apple-fixes
+++ b/patches/apple-fixes
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,13 @@
+@@ -29,6 +29,13 @@
* configure: Regenerated.
diff --git a/patches/bfin b/patches/bfin
index 1b573be..3c5f3ac 100644
--- a/patches/bfin
+++ b/patches/bfin
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,13 @@
+@@ -29,6 +29,13 @@
* configure: Regenerated.
diff --git a/patches/darwin-missing-semi b/patches/darwin-missing-semi
index 471947e..c043af5 100644
--- a/patches/darwin-missing-semi
+++ b/patches/darwin-missing-semi
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,10 @@
+@@ -29,6 +29,10 @@
* configure: Regenerated.
diff --git a/patches/darwin12 b/patches/darwin12
index aadc1e7..7655733 100644
--- a/patches/darwin12
+++ b/patches/darwin12
@@ -2,7 +2,10 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,9 @@
+@@ -3,6 +3,12 @@
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
+2012-10-30 Frederick Cheung <frederick.cheung@gmail.com>
+
+ * configure.ac: Enable FFI_MAP_EXEC_WRIT for Darwin 12 (mountain
diff --git a/patches/dist-tests b/patches/dist-tests
index f7bd997..0acf85e 100644
--- a/patches/dist-tests
+++ b/patches/dist-tests
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,11 @@
+@@ -29,6 +29,11 @@
* configure: Regenerated.
diff --git a/patches/emutramp b/patches/emutramp
index c9dc834..6203a4b 100644
--- a/patches/emutramp
+++ b/patches/emutramp
@@ -2,7 +2,10 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,11 @@
+@@ -3,6 +3,14 @@
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
+2012-10-30 Magnus Granberg <zorry@gentoo.org>
+ Pavel Labushev <pavel.labushev@runbox.ru>
+
diff --git a/patches/icc128 b/patches/icc128
index 5c2bda7..05980c7 100644
--- a/patches/icc128
+++ b/patches/icc128
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -26,6 +26,11 @@
+@@ -31,6 +31,11 @@
2012-04-06 Anthony Green <green@moxielogic.com>
diff --git a/patches/ios-fix b/patches/ios-fix
index 5aaa183..02aadef 100644
--- a/patches/ios-fix
+++ b/patches/ios-fix
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,11 @@
+@@ -29,6 +29,11 @@
* configure: Regenerated.
diff --git a/patches/mint b/patches/mint
index 42a02bc..85cf859 100644
--- a/patches/mint
+++ b/patches/mint
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,16 @@
+@@ -29,6 +29,16 @@
* configure: Regenerated.
@@ -19,7 +19,7 @@ Index: libffi/ChangeLog
2012-04-02 Peter Bergner <bergner@vnet.ibm.com>
* src/powerpc/ffi.c (ffi_prep_args_SYSV): Declare double_tmp.
-@@ -32,11 +42,6 @@
+@@ -37,11 +47,6 @@
(ffi_call): Silence possibly undefined warning.
(ffi_closure_helper_SYSV): Declare variable type.
diff --git a/patches/msvc-changes b/patches/msvc-changes
index 7d39762..f59bcf4 100644
--- a/patches/msvc-changes
+++ b/patches/msvc-changes
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,143 @@
+@@ -29,6 +29,143 @@
* configure: Regenerated.
@@ -163,7 +163,7 @@ Index: libffi/Makefile.in
===================================================================
--- libffi.orig/Makefile.in
+++ libffi/Makefile.in
-@@ -530,7 +530,7 @@ libffi_convenience_la_SOURCES = $(libffi
+@@ -543,7 +543,7 @@ libffi_convenience_la_SOURCES = $(libffi
nodist_libffi_convenience_la_SOURCES = $(nodist_libffi_la_SOURCES)
AM_CFLAGS = -g $(am__append_29)
libffi_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version` $(LTLDFLAGS) $(AM_LTLDFLAGS)
diff --git a/patches/tile b/patches/tile
index 3721021..b433dd1 100644
--- a/patches/tile
+++ b/patches/tile
@@ -2,7 +2,10 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,15 @@
+@@ -3,6 +3,18 @@
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
+2012-10-12 Walter Lee <walt@tilera.com>
+
+ * Makefile.am: Add TILE-Gx/TILEPro support.
diff --git a/patches/update-disty b/patches/update-disty
index e4f6f43..adcff3d 100644
--- a/patches/update-disty
+++ b/patches/update-disty
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,11 @@
+@@ -29,6 +29,11 @@
* configure: Regenerated.
diff --git a/patches/vararg_float_test_fix b/patches/vararg_float_test_fix
index 4af0f23..adc6331 100644
--- a/patches/vararg_float_test_fix
+++ b/patches/vararg_float_test_fix
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,12 @@
+@@ -29,6 +29,12 @@
* configure: Regenerated.
diff --git a/patches/vfp-eabi b/patches/vfp-eabi
index 5cb7543..e2db280 100644
--- a/patches/vfp-eabi
+++ b/patches/vfp-eabi
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -59,6 +59,14 @@
+@@ -64,6 +64,14 @@
* src/powerpc/ffi_darwin.c (ffi_prep_closure_loc): Fix AIX closure
support.
diff --git a/patches/whitespace-fix b/patches/whitespace-fix
index f325b60..6a661c1 100644
--- a/patches/whitespace-fix
+++ b/patches/whitespace-fix
@@ -2,7 +2,10 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -1,3 +1,7 @@
+@@ -3,6 +3,10 @@
+ * src/powerpc/linux64_closure.S: Add new ABI support.
+ * src/powerpc/linux64.S: Likewise.
+
+2012-10-12 Matthias Klose <doko@ubuntu.com>
+
+ * generate-osx-source-and-headers.py: Normalize whitespace.
diff --git a/patches/win32 b/patches/win32
index b3bdcbd..9a346e1 100644
--- a/patches/win32
+++ b/patches/win32
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,18 @@
+@@ -29,6 +29,18 @@
* configure: Regenerated.
diff --git a/patches/win32-return-sign b/patches/win32-return-sign
index 7814c55..59f9ab6 100644
--- a/patches/win32-return-sign
+++ b/patches/win32-return-sign
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -212,6 +212,14 @@
+@@ -217,6 +217,14 @@
(ffi_call): Silence possibly undefined warning.
(ffi_closure_helper_SYSV): Declare variable type.
diff --git a/patches/win32_tests b/patches/win32_tests
index 87dad70..7b62a41 100644
--- a/patches/win32_tests
+++ b/patches/win32_tests
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,13 @@
+@@ -29,6 +29,13 @@
* configure: Regenerated.
diff --git a/patches/x32libtool b/patches/x32libtool
index dc844a6..b9256b1 100644
--- a/patches/x32libtool
+++ b/patches/x32libtool
@@ -2,7 +2,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -29,6 +29,10 @@
+@@ -34,6 +34,10 @@
* src/x86/ffi64.c (UINT128): Define differently for Intel and GNU
compilers, then use it.
diff --git a/patches/xcode b/patches/xcode
index 7d6070b..1d3ac80 100644
--- a/patches/xcode
+++ b/patches/xcode
@@ -602,7 +602,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -26,6 +26,18 @@
+@@ -31,6 +31,18 @@
2012-04-06 Anthony Green <green@moxielogic.com>
diff --git a/patches/xcode-improvements b/patches/xcode-improvements
index 43e0f22..2b64371 100644
--- a/patches/xcode-improvements
+++ b/patches/xcode-improvements
@@ -14,7 +14,7 @@ Index: libffi/ChangeLog
===================================================================
--- libffi.orig/ChangeLog
+++ libffi/ChangeLog
-@@ -24,6 +24,14 @@
+@@ -29,6 +29,14 @@
* configure: Regenerated.
diff --git a/src/powerpc/linux64.S b/src/powerpc/linux64.S
index 57b56cb..f28da81 100644
--- a/src/powerpc/linux64.S
+++ b/src/powerpc/linux64.S
@@ -30,16 +30,25 @@
#include <ffi.h>
#ifdef __powerpc64__
- .hidden ffi_call_LINUX64, .ffi_call_LINUX64
- .globl ffi_call_LINUX64, .ffi_call_LINUX64
+ .hidden ffi_call_LINUX64
+ .globl ffi_call_LINUX64
.section ".opd","aw"
.align 3
ffi_call_LINUX64:
+#ifdef _CALL_LINUX
+ .quad .L.ffi_call_LINUX64,.TOC.@tocbase,0
+ .type ffi_call_LINUX64,@function
+ .text
+.L.ffi_call_LINUX64:
+#else
+ .hidden .ffi_call_LINUX64
+ .globl .ffi_call_LINUX64
.quad .ffi_call_LINUX64,.TOC.@tocbase,0
.size ffi_call_LINUX64,24
.type .ffi_call_LINUX64,@function
.text
.ffi_call_LINUX64:
+#endif
.LFB1:
mflr %r0
std %r28, -32(%r1)
@@ -58,7 +67,11 @@ ffi_call_LINUX64:
/* Call ffi_prep_args64. */
mr %r4, %r1
+#ifdef _CALL_LINUX
+ bl ffi_prep_args64
+#else
bl .ffi_prep_args64
+#endif
ld %r0, 0(%r29)
ld %r2, 8(%r29)
@@ -137,7 +150,11 @@ ffi_call_LINUX64:
.LFE1:
.long 0
.byte 0,12,0,1,128,4,0,0
+#ifdef _CALL_LINUX
+ .size ffi_call_LINUX64,.-.L.ffi_call_LINUX64
+#else
.size .ffi_call_LINUX64,.-.ffi_call_LINUX64
+#endif
.section .eh_frame,EH_FRAME_FLAGS,@progbits
.Lframe1:
diff --git a/src/powerpc/linux64_closure.S b/src/powerpc/linux64_closure.S
index f7aa2c9..b1e1219 100644
--- a/src/powerpc/linux64_closure.S
+++ b/src/powerpc/linux64_closure.S
@@ -32,16 +32,24 @@
#ifdef __powerpc64__
FFI_HIDDEN (ffi_closure_LINUX64)
- FFI_HIDDEN (.ffi_closure_LINUX64)
- .globl ffi_closure_LINUX64, .ffi_closure_LINUX64
+ .globl ffi_closure_LINUX64
.section ".opd","aw"
.align 3
ffi_closure_LINUX64:
+#ifdef _CALL_LINUX
+ .quad .L.ffi_closure_LINUX64,.TOC.@tocbase,0
+ .type ffi_closure_LINUX64,@function
+ .text
+.L.ffi_closure_LINUX64:
+#else
+ FFI_HIDDEN (.ffi_closure_LINUX64)
+ .globl .ffi_closure_LINUX64
.quad .ffi_closure_LINUX64,.TOC.@tocbase,0
.size ffi_closure_LINUX64,24
.type .ffi_closure_LINUX64,@function
.text
.ffi_closure_LINUX64:
+#endif
.LFB1:
# save general regs into parm save area
std %r3, 48(%r1)
@@ -91,7 +99,11 @@ ffi_closure_LINUX64:
addi %r6, %r1, 128
# make the call
+#ifdef _CALL_LINUX
+ bl ffi_closure_helper_LINUX64
+#else
bl .ffi_closure_helper_LINUX64
+#endif
.Lret:
# now r3 contains the return type
@@ -194,7 +206,11 @@ ffi_closure_LINUX64:
.LFE1:
.long 0
.byte 0,12,0,1,128,0,0,0
+#ifdef _CALL_LINUX
+ .size ffi_closure_LINUX64,.-.L.ffi_closure_LINUX64
+#else
.size .ffi_closure_LINUX64,.-.ffi_closure_LINUX64
+#endif
.section .eh_frame,EH_FRAME_FLAGS,@progbits
.Lframe1: