kc3-lang/libffi

Branch :


Log

Author Commit Date CI Message
2349fec9 2014-03-05 17:53:02 Fix typo in doc
634a475e 2014-03-01 18:37:29 Update Makefile for new darwin scripts
c7b67e87 2014-03-01 18:34:18 Add README note
a04e30ba 2014-02-28 17:20:59 Add missing -DFFI_DEBUG flag
934dc1b5 2014-02-28 01:10:17 Merge branch 'master' of github.com:/atgreen/libffi
11d7aa9d 2014-02-28 01:06:48 Merge pull request #46 from makotokato/android-clang Fix build failure when using clang for Android
67fbef3b 2014-02-28 01:06:48 Merge pull request #46 from makotokato/android-clang Fix build failure when using clang for Android
b40aeda3 2014-02-28 01:01:29 Merge branch 'master' of github.com:/atgreen/libffi
53ceaf14 2014-02-28 01:01:02 Merge pull request #40 from wojdyr/master Correct the -L flag in libffi.pc.in
20698abc 2014-02-28 00:56:27 Merge pull request #66 from ppizarro/master BlackFin fixes - Fatal error when calling a function defined in a shared library from within the function called by FFI
860fe664 2014-02-28 00:56:27 Merge pull request #66 from ppizarro/master BlackFin fixes - Fatal error when calling a function defined in a shared library from within the function called by FFI
64bd0699 2014-02-28 00:52:56 Add ChangeLog entry for Josh's change
edf29c51 2014-02-28 00:50:25 Merge pull request #75 from joshtriplett/longdouble Fix build error on x86 without distinct long double
33c9954f 2014-02-28 00:38:41 Rebuilt with new libtool
926b6989 2014-02-28 00:26:57 Merge branch 'master' of github.com:/atgreen/libffi Conflicts: ChangeLog
5a88c85f 2014-02-28 00:23:04 Fix spelling errors
cc82051c 2014-02-28 00:23:04 Fix spelling errors
001aaf4b 2014-02-28 00:20:17 When no VFP arguments are present the IP register is used uninitialized. Initialize it to the value of FP. This fixes a number of testsuite failures when configured for armv7l-unknown-linux-gnueabihf
49f7729c 2014-02-28 00:17:16 aarch64 fix
447483d5 2014-02-27 15:42:41 Fix ChangeLog merge
3998d260 2014-02-17 11:20:33 Fix build error on x86 without distinct long double src/x86/ffi64.c: In function 'classify_argument': src/x86/ffi64.c:205:5: error: duplicate case value case FFI_TYPE_LONGDOUBLE: ^ src/x86/ffi64.c:202:5: error: previously used here case FFI_TYPE_DOUBLE: ^
51377bda 2014-02-15 08:06:29 Merge pull request #72 from heiher/devel MIPS N32: Fix call floating point va function
f08da546 2014-02-15 08:06:11 Merge pull request #68 from zeldin/master Linux/ppc64: Remove assumption on contents of r11 in closure
40927bd3 2014-01-21 23:18:27 Fix call floating point va function I'm not sure floating-point arguments in GPR or FPR before calling variable number arguments function. so, load all arguments to GPR and FPR.
b4df9cf9 2014-02-05 14:22:52 AArch64: Fix void fall-through case when assertions are enabled
0a333d6c 2014-01-09 14:03:29 Darwin/aarch64: Fix size_t assumptions
f466aad0 2014-01-21 16:38:31 AArch64: Fix missing semicolons when assertions are enabled
7ea67773 2013-11-30 20:58:31 Remove build-ios from Makefile Conflicts: ChangeLog
6ae046cc 2013-11-30 21:06:51 Mention Aarch64 on iOS
bfc06b3f 2013-12-30 17:36:39 Update ChangeLog
0a0f12ce 2014-01-09 13:50:17 AArch64: Remove duplicitous element_count call. This inhibits an analyzer warning by Clang.
4330fdcd 2014-01-09 13:53:30 Darwin/aarch64: Respect iOS ABI re: stack argument alignment
2c18e3c7 2013-12-30 16:14:02 Darwin/aarch64: Fix "shadows declaration" warnings
1b8a8e20 2014-01-09 13:55:21 Darwin/aarch64: Use Clang cache invalidation builtin
6030cdca 2013-12-30 15:45:51 Darwin/aarch64: Account for long double being equal to double
5658b089 2013-12-30 16:33:47 Darwin/aarch64: Use CNAME, restrict .size like ARM
07175780 2013-12-30 17:48:22 Darwin/aarch64: Fix invalid reference in assembly
9da28b44 2013-12-30 16:23:21 Darwin/x86_64: Fix 64-bit type shortening warnings
821d398f 2014-01-09 13:15:06 Darwin: Merge build scripts, redo project, incl. arm64
6eff9ff9 2013-12-30 17:48:10 Darwin/iOS: Improve unified syntax use for LLVM
ba0ea99c 2013-12-30 15:27:44 Fix dlmalloc warnings due to set_segment_flags, sizeof(size_t)
994be3a5 2013-12-30 15:27:14 Darwin/iOS: Fix mis-typing of vfp_reg_free
a8e0a835 2013-12-30 15:26:20 Darwin/ARM: Assert on NULL dereference This inhibits an analyzer warning by Clang on all platforms.
13675341 2014-01-09 13:42:08 Darwin/i386: Inhibit Clang previous prototype warnings
66469c38 2014-01-09 13:41:45 Darwin/ARM: Inhibit Clang previous prototype warnings
5bfe62a0 2014-01-09 13:41:27 Darwin/AArch64: Inhibit Clang previous prototype warnings
fa5f25c2 2014-01-04 19:00:08 Linux/ppc64: Remove assumption on contents of r11 in closure
1a0b01e1 2014-01-02 16:17:59 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.
3dc3f32c 2013-12-05 16:23:25 Undo iOS ARM64 changes.
356b2cbc 2013-11-30 22:38:13 Merge branch 'master' of github.com:/atgreen/libffi
484a7584 2013-11-30 21:06:51 Mention Aarch64 on iOS
07345a30 2013-11-30 21:06:51 Mention Aarch64 on iOS
d4b931c1 2013-11-30 20:58:31 Remove build-ios from Makefile
dfbf236d 2013-11-30 20:54:54 Merge branch 'master' of github.com:/atgreen/libffi Add ChangeLog entry.
bb9740e5 2013-11-30 17:54:39 Merge pull request #60 from zwaldowski/ios-redo Mac/iOS support, including aarch64 port
4d701e03 2013-11-30 13:25:27 Darwin: Properly export headers from Xcode project
022f12eb 2013-11-30 12:21:38 Darwin: Freshen gen scripts, remove old build-ios.sh
e820fe20 2013-11-30 12:03:51 Darwin/iOS: Include x86_64+aarch64 pieces in library
0278284e 2013-11-30 03:03:37 Darwin/aarch64: size_t assumptions
9775446b 2013-11-30 02:39:34 Darwin/aarch64: Fix “shadows declaration” warnings
4260badc 2013-11-30 02:08:14 Darwin/aarch64: Use Clang cache invalidation builtin
9fa7998d 2013-11-30 02:07:48 Darwin/aarch64: Inhibit Xcode warning
602dc22d 2013-11-30 02:06:00 Darwin/iOS prep script: try and compile for arm64
0e832048 2013-11-30 02:07:34 Darwin/aarch64: double == long double
b513dfe7 2013-11-30 02:05:22 Darwin/aarch64: Restrict .size to ELF like arm32.
bc978099 2013-11-30 02:04:57 Darwin/aarch64: Potentially(?) fix compile error
d6bb9314 2013-11-30 02:04:22 Darwin/aarch64: Use CNAME refs
33c46ce5 2013-11-30 04:13:42 Darwin/Mac: Fix 64/32 shortening warnings
0612081e 2013-11-30 03:03:00 Darwin: Misc size_t warnings
6a6247d1 2013-11-30 02:55:48 Darwin: Fix dlmalloc warnings due to sizeof(size_t)
4d60d9e1 2013-11-30 04:09:30 Darwin: Rebuild Xcode project
cb719a5c 2013-11-30 04:09:18 Darwin/iOS: Fix LLVM 3.3 warning re: memcpy.
21bde92c 2013-11-30 03:43:42 Darwin: Clean up, modernize generator scripts
fd54eab7 2013-11-30 03:38:02 Darwin/Mac: Also exclude OS X generated source
953b6f14 2012-04-24 11:16:20 Darwin/iOS: More unified syntax support w/ Clang. Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
c713a553 2012-04-24 10:25:29 Darwin/iOS: Simplify RETLDM arguments for LLVM 3.1 Signed-off-by: Zachary Waldowski <zwaldowski@gmail.com>
16ba1b80 2012-04-11 23:26:04 Darwin: Silence Clang warnings.
852ac3bd 2013-11-21 21:25:44 Merge branch 'master' of github.com:/atgreen/libffi Conflicts: ChangeLog
ab79d6e2 2013-11-21 06:12:35 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. Using the return value area as a place to pass parameters wasn't such a good idea, causing a failure of cls_ulonglong.c. I didn't see this when running the mainline gcc libffi testsuite because that version of the test is inferior to the upstreamm libffi test. Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant that a parameter save area could be allocated before it was strictly necessary. Wrong but harmless. Found when splitting apart ffi.c into 32-bit and 64-bit support.
ac753688 2013-11-21 06:12:35 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. Using the return value area as a place to pass parameters wasn't such a good idea, causing a failure of cls_ulonglong.c. I didn't see this when running the mainline gcc libffi testsuite because that version of the test is inferior to the upstreamm libffi test. Using NUM_FPR_ARG_REGISTERS rather than NUM_FPR_ARG_REGISTERS64 meant that a parameter save area could be allocated before it was strictly necessary. Wrong but harmless. Found when splitting apart ffi.c into 32-bit and 64-bit support.
69df91cf 2013-11-18 06:34:04 Merge pull request #59 from iains/powerpc-darwin-unwind-fix Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels.
aa1f62c0 2013-11-18 13:11:56 Fix PowerPC Darwin FDE encodings to use pcrel correctly. Modernise the picbase labels.
2f450822 2013-11-18 06:52:29 Clean up code to appease modern GCC compiler.
16d56c51 2013-11-18 06:36:03 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.
34f878a5 2013-11-16 06:57:54 Merge branch 'master' of github.com:/atgreen/libffi Conflicts: ChangeLog src/powerpc/ffi.c
83f65b63 2013-11-16 06:53:50 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.
1fd04578 2013-11-16 06:53:50 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.
36285137 2013-11-16 06:52:43 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. I have tested this on powerpc64-linux, powerpc-linux and powerpc-freebsd. Well, the last on powerpc-linux by lying to configure with CC="gcc -m32 -msvr4-struct-return -mlong-double-64" \ CXX="g++ -m32 -msvr4-struct-return -mlong-double-64" \ /src/libffi-current/configure --build=powerpc-freebsd and then make && make CC="gcc -m32" CXX="g++ -m32" \ RUNTESTFLAGS=--target_board=unix/-m32/-msvr4-struct-return/-mlong-double-64\ check
1c06515d 2013-11-16 06:41:36 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. This is a revised version of https://sourceware.org/ml/libffi-discuss/2013/msg00162.html
a97cf1fa 2013-11-16 06:40:13 This patch prepares for ELFv2, where sizes of these areas change. It also makes some minor changes to improve code efficiency.
164283f4 2013-11-16 06:38:55 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. This also fixes two faulty tests that used a non-variadic function cast to call a variadic function, and spuriously reasoned that this is somehow necessary for static functions..
31257b31 2013-11-16 06:35:51 Fix sample closure code
db0ace3a 2013-11-16 06:29:25 Fix broken test cases
de10f503 2013-11-14 10:56:29 Merge branch 'master' of https://github.com/bivab/libffi Conflicts: ChangeLog
f3657da2 2013-11-14 13:02:16 update Changelog
58c2577a 2013-11-13 16:55:36 This enshrines the current testsuite practice of using ffi_arg for returned values. It would be reasonable and logical to use the actual return argument type as passed to ffi_prep_cif, but this would mean changing a large number of tests that use ffi_arg and all backends that write results to an ffi_arg.
8af42f99 2013-11-13 16:40:28 Respect HAVE_ALLOCA_H
cdf405d5 2013-11-13 15:50:21 add a testcase for the double/float issue on ARMHF
77f823e3 2013-11-13 14:26:57 stop trying to assing vfp regs once we are done with the registers
37067ec5 2013-11-12 19:49:01 mark all vfp registers as used when done. To avoid assigning registers the would fit, once arguments have been on the stack, we mark all registers as used once we do not find a free register for the first time.