Commit Graph

  • 76d19d004e Ensure the linker supports @unwind sections in libffi. Anthony Green 2014-03-14 16:54:31 -04:00
  • c86d9b6cc6 Fix merge Anthony Green 2014-03-14 16:51:20 -04:00
  • 4efb7dbfd9 Merge pull request #81 from rvandermeulen/bug-756740 Anthony Green 2014-03-14 16:47:57 -04:00
  • a1a6f71bfe Remove stray hunk that shouldn't have been included in this patch. Ryan VanderMeulen 2014-03-10 15:12:47 -04:00
  • f8cdf11467 Replace double quotes with single quotes in Makefile.in to improve compatibility between some versions of MSYS and gmake. From Mozilla bug 943728. https://bugzilla.mozilla.org/show_bug.cgi?id=943728 Ryan VanderMeulen 2014-03-10 15:04:58 -04:00
  • dfa3738732 Ensure the linker supports @unwind sections in libffi. From Mozilla bug 756740. https://bugzilla.mozilla.org/show_bug.cgi?id=778414 Ryan VanderMeulen 2014-03-10 14:53:48 -04:00
  • 18eb81d032 Allow building for mipsel with Android NDK r8. From Mozilla bug 756740. https://bugzilla.mozilla.org/show_bug.cgi?id=756740 Ryan VanderMeulen 2014-03-10 14:43:37 -04:00
  • 2349fec9a8 Fix typo in doc Daiki Ueno 2014-03-05 17:53:02 +09:00
  • 634a475eaf Update Makefile for new darwin scripts Anthony Green 2014-03-01 18:37:29 -05:00
  • c7b67e874b Add README note Anthony Green 2014-03-01 18:34:18 -05:00
  • a04e30ba3d Add missing -DFFI_DEBUG flag Anthony Green 2014-02-28 17:20:59 -05:00
  • 934dc1b5c8 Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2014-02-28 01:10:17 -05:00
  • 11d7aa9d7a Merge pull request #46 from makotokato/android-clang Anthony Green 2014-02-28 01:06:48 -05:00
  • 67fbef3b56 Merge pull request #46 from makotokato/android-clang Anthony Green 2014-02-28 01:06:48 -05:00
  • b40aeda31a Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2014-02-28 01:01:29 -05:00
  • 53ceaf14c5 Merge pull request #40 from wojdyr/master Anthony Green 2014-02-28 01:01:02 -05:00
  • 20698abc6a Merge pull request #66 from ppizarro/master Anthony Green 2014-02-28 00:56:27 -05:00
  • 860fe6646f Merge pull request #66 from ppizarro/master Anthony Green 2014-02-28 00:56:27 -05:00
  • 64bd06990a Add ChangeLog entry for Josh's change Anthony Green 2014-02-28 00:52:56 -05:00
  • edf29c5169 Merge pull request #75 from joshtriplett/longdouble Anthony Green 2014-02-28 00:50:25 -05:00
  • 33c9954f2e Rebuilt with new libtool Anthony Green 2014-02-28 00:38:41 -05:00
  • 926b6989fb Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2014-02-28 00:26:57 -05:00
  • 5a88c85fde Fix spelling errors Anthony Green 2014-02-28 00:23:04 -05:00
  • cc82051c7e Fix spelling errors Anthony Green 2014-02-28 00:23:04 -05:00
  • 001aaf4b1b When no VFP arguments are present the IP register is used uninitialized. Initialize it to the value of FP. Anthony Green 2014-02-28 00:20:17 -05:00
  • 49f7729c3c aarch64 fix Anthony Green 2014-02-28 00:17:16 -05:00
  • 447483d51c Fix ChangeLog merge Anthony Green 2014-02-27 15:42:41 -05:00
  • 3998d2604b Fix build error on x86 without distinct long double Josh Triplett 2014-02-17 11:20:33 -08:00
  • 51377bda9a Merge pull request #72 from heiher/devel Anthony Green 2014-02-15 08:06:29 -05:00
  • f08da54654 Merge pull request #68 from zeldin/master Anthony Green 2014-02-15 08:06:11 -05:00
  • 40927bd3e1 Fix call floating point va function Heiher 2014-01-21 23:18:27 +08:00
  • b4df9cf9cc AArch64: Fix void fall-through case when assertions are enabled Zachary Waldowski 2014-02-05 14:22:52 -05:00
  • f466aad0d9 AArch64: Fix missing semicolons when assertions are enabled Zachary Waldowski 2014-01-21 16:38:31 -05:00
  • 7ea677733b Remove build-ios from Makefile Anthony Green 2013-11-30 20:58:31 -05:00
  • 6ae046cc59 Mention Aarch64 on iOS Anthony Green 2013-11-30 21:06:51 -05:00
  • bfc06b3fdb Update ChangeLog Zachary Waldowski 2013-12-30 17:36:39 -05:00
  • 0a0f12ce1f AArch64: Remove duplicitous element_count call. Zachary Waldowski 2014-01-09 13:50:17 -05:00
  • 4330fdcd92 Darwin/aarch64: Respect iOS ABI re: stack argument alignment Zachary Waldowski 2014-01-09 13:53:30 -05:00
  • 0a333d6c39 Darwin/aarch64: Fix size_t assumptions Zachary Waldowski 2014-01-09 14:03:29 -05:00
  • 2c18e3c76a Darwin/aarch64: Fix "shadows declaration" warnings Zachary Waldowski 2013-12-30 16:14:02 -05:00
  • 1b8a8e20e3 Darwin/aarch64: Use Clang cache invalidation builtin Zachary Waldowski 2014-01-09 13:55:21 -05:00
  • 6030cdcae7 Darwin/aarch64: Account for long double being equal to double Zachary Waldowski 2013-12-30 15:45:51 -05:00
  • 5658b08926 Darwin/aarch64: Use CNAME, restrict .size like ARM Zachary Waldowski 2013-12-30 16:33:47 -05:00
  • 0717578080 Darwin/aarch64: Fix invalid reference in assembly Zachary Waldowski 2013-12-30 17:48:22 -05:00
  • 9da28b4427 Darwin/x86_64: Fix 64-bit type shortening warnings Zachary Waldowski 2013-12-30 16:23:21 -05:00
  • 821d398f08 Darwin: Merge build scripts, redo project, incl. arm64 Zachary Waldowski 2014-01-09 13:15:06 -05:00
  • 6eff9ff9e7 Darwin/iOS: Improve unified syntax use for LLVM Zachary Waldowski 2013-12-30 17:48:10 -05:00
  • ba0ea99c82 Fix dlmalloc warnings due to set_segment_flags, sizeof(size_t) Zachary Waldowski 2013-12-30 15:27:44 -05:00
  • 994be3a5c1 Darwin/iOS: Fix mis-typing of vfp_reg_free Zachary Waldowski 2013-12-30 15:27:14 -05:00
  • a8e0a835ab Darwin/ARM: Assert on NULL dereference Zachary Waldowski 2013-12-30 15:26:20 -05:00
  • 1367534158 Darwin/i386: Inhibit Clang previous prototype warnings Zachary Waldowski 2014-01-09 13:42:08 -05:00
  • 66469c381e Darwin/ARM: Inhibit Clang previous prototype warnings Zachary Waldowski 2014-01-09 13:41:45 -05:00
  • 5bfe62a00d Darwin/AArch64: Inhibit Clang previous prototype warnings Zachary Waldowski 2014-01-09 13:41:27 -05:00
  • fa5f25c20f Linux/ppc64: Remove assumption on contents of r11 in closure Marcus Comstedt 2014-01-04 19:00:08 +01:00
  • 1a0b01e171 When the function called by the ffi called a function defined in a shared library generate a fatal error The correction was to take into consideration the GOT. Paulo Pizarro 2014-01-02 16:17:59 -02:00
  • 3dc3f32c35 Undo iOS ARM64 changes. Anthony Green 2013-12-05 16:23:25 -05:00
  • 356b2cbc30 Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2013-11-30 22:38:13 -05:00
  • 484a758426 Mention Aarch64 on iOS Anthony Green 2013-11-30 21:06:51 -05:00
  • 07345a30ec Mention Aarch64 on iOS Anthony Green 2013-11-30 21:06:51 -05:00
  • d4b931c1b8 Remove build-ios from Makefile Anthony Green 2013-11-30 20:58:31 -05:00
  • dfbf236d70 Merge branch 'master' of github.com:/atgreen/libffi Add ChangeLog entry. Anthony Green 2013-11-30 20:54:54 -05:00
  • bb9740e545 Merge pull request #60 from zwaldowski/ios-redo Anthony Green 2013-11-30 17:54:39 -08:00
  • 4d701e03fa Darwin: Properly export headers from Xcode project Zachary Waldowski 2013-11-30 13:25:27 -05:00
  • 022f12eb9a Darwin: Freshen gen scripts, remove old build-ios.sh Zachary Waldowski 2013-11-30 12:21:38 -05:00
  • e820fe2025 Darwin/iOS: Include x86_64+aarch64 pieces in library Zachary Waldowski 2013-11-30 12:03:51 -05:00
  • 0278284e47 Darwin/aarch64: size_t assumptions Zachary Waldowski 2013-11-30 03:03:37 -05:00
  • 9775446b64 Darwin/aarch64: Fix “shadows declaration” warnings Zachary Waldowski 2013-11-30 02:39:34 -05:00
  • 4260badc37 Darwin/aarch64: Use Clang cache invalidation builtin Zachary Waldowski 2013-11-30 02:08:14 -05:00
  • 9fa7998d5f Darwin/aarch64: Inhibit Xcode warning Zachary Waldowski 2013-11-30 02:07:48 -05:00
  • 0e832048a9 Darwin/aarch64: double == long double Zachary Waldowski 2013-11-30 02:07:34 -05:00
  • 602dc22d76 Darwin/iOS prep script: try and compile for arm64 Zachary Waldowski 2013-11-30 02:06:00 -05:00
  • b513dfe79d Darwin/aarch64: Restrict .size to ELF like arm32. Zachary Waldowski 2013-11-30 02:05:22 -05:00
  • bc978099bf Darwin/aarch64: Potentially(?) fix compile error Zachary Waldowski 2013-11-30 02:04:57 -05:00
  • d6bb931446 Darwin/aarch64: Use CNAME refs Zachary Waldowski 2013-11-30 02:04:22 -05:00
  • 33c46ce568 Darwin/Mac: Fix 64/32 shortening warnings Zachary Waldowski 2013-11-30 04:13:42 -05:00
  • 0612081e6c Darwin: Misc size_t warnings Zachary Waldowski 2013-11-30 03:03:00 -05:00
  • 6a6247d179 Darwin: Fix dlmalloc warnings due to sizeof(size_t) Zachary Waldowski 2013-11-30 02:55:48 -05:00
  • 4d60d9e1e3 Darwin: Rebuild Xcode project Zachary Waldowski 2013-11-30 04:09:30 -05:00
  • cb719a5c1c Darwin/iOS: Fix LLVM 3.3 warning re: memcpy. Zachary Waldowski 2013-11-30 04:09:18 -05:00
  • 21bde92c9a Darwin: Clean up, modernize generator scripts Zachary Waldowski 2013-11-30 03:43:42 -05:00
  • fd54eab74c Darwin/Mac: Also exclude OS X generated source Zachary Waldowski 2013-11-30 03:38:02 -05:00
  • 953b6f14c6 Darwin/iOS: More unified syntax support w/ Clang. Zachary Waldowski 2012-04-24 11:16:20 -04:00
  • c713a55379 Darwin/iOS: Simplify RETLDM arguments for LLVM 3.1 Zachary Waldowski 2012-04-24 10:25:29 -04:00
  • 16ba1b8002 Darwin: Silence Clang warnings. Zachary Waldowski 2012-04-11 23:26:04 -04:00
  • 852ac3bd30 Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2013-11-21 21:25:44 -05:00
  • ab79d6e219 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux code, and makes it possible to link code compiled with different options to those used to compile libffi. For example, a -mlong-double-128 libffi can be used with -mlong-double-64 code. Alan Modra 2013-11-21 06:12:35 -05:00
  • ac75368893 This separates the 32-bit sysv/linux/bsd code from the 64-bit linux code, and makes it possible to link code compiled with different options to those used to compile libffi. For example, a -mlong-double-128 libffi can be used with -mlong-double-64 code. Alan Modra 2013-11-21 06:12:35 -05:00
  • 69df91cfb4 Merge pull request #59 from iains/powerpc-darwin-unwind-fix Anthony Green 2013-11-18 06:34:04 -08:00
  • aa1f62c0a0 Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels. Iain Sandoe 2013-11-18 13:11:56 +00:00
  • 2f450822a8 Clean up code to appease modern GCC compiler. Anthony Green 2013-11-18 06:52:29 -05:00
  • 16d56c51ad An #endif in the wrong place would cause compile failure on powerpcle. Using bl instead of b doesn't cause runtime failures as you might think, but does mess the processor branch prediction. Alan Modra 2013-11-18 06:36:03 -05:00
  • 34f878a5ef Merge branch 'master' of github.com:/atgreen/libffi Anthony Green 2013-11-16 06:57:54 -05:00
  • 83f65b63d9 Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be linked with ELFv2 objects, so this is one case where preprocessor tests in ffi.c are fine. Also, there is no need to define a new FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily serve both ABIs. Alan Modra 2013-11-16 06:53:50 -05:00
  • 1fd045784c Finally, this adds _CALL_ELF == 2 support. ELFv1 objects can't be linked with ELFv2 objects, so this is one case where preprocessor tests in ffi.c are fine. Also, there is no need to define a new FFI_ELFv2 or somesuch value in enum ffi_abi. FFI_LINUX64 will happily serve both ABIs. Alan Modra 2013-11-16 06:53:50 -05:00
  • 362851379a Andreas' 2013-02-08 change reverted some breakage for struct return values from 2011-11-12, but in so doing reintroduced string instructions to sysv.S that are not supported on all powerpc variants. This patch properly copies the bounce buffer to destination in C code rather than in asm. Alan Modra 2013-11-16 06:52:43 -05:00
  • 1c06515d92 The powerpc64 ABIs align structs passed by value, a fact ignored by gcc for quite some time. Since gcc now does the correct alignment, libffi needs to follow suit. This ought to be made selectable via a new abi value, and the #ifdefs removed from ffi.c along with many other #ifdefs present there and in assembly. I'll do that with a followup patch sometime. Alan Modra 2013-11-16 06:41:36 -05:00
  • a97cf1fae5 This patch prepares for ELFv2, where sizes of these areas change. It also makes some minor changes to improve code efficiency. Alan Modra 2013-11-16 06:40:13 -05:00
  • 164283f4ac The powerpc64 support opted to pass floating point values both in the fpr area and the parameter save area, necessary when the backend doesn't know if a function argument corresponds to the ellipsis arguments of a variadic function. This patch adds powerpc support for variadic functions, and changes the code to only pass fp in the ABI mandated area. ELFv2 needs this change since the parameter save area may not exist there. Alan Modra 2013-11-16 06:38:55 -05:00
  • 31257b3189 Fix sample closure code Andrew Haley 2013-11-16 06:35:51 -05:00
  • db0ace3a38 Fix broken test cases Andrew Haley 2013-11-16 06:29:25 -05:00