Branch :
| Author | Commit | Date | CI | Message |
|---|---|---|---|---|
| a3e20940 | 2018-03-27 11:58:42 | More msvc hacks | ||
| a82b456e | 2018-03-27 11:49:46 | msvc fixes | ||
| a2326aaf | 2018-03-27 11:36:04 | Remove debug output | ||
| 85b6b209 | 2018-03-27 11:35:23 | Force literals to float (msvc warning) | ||
| 2872c460 | 2018-03-27 11:28:40 | Fix msvc linking | ||
| b40a386c | 2018-03-27 11:20:21 | Fix library path handling | ||
| d78c5f64 | 2018-03-27 11:14:56 | Deal with libpath | ||
| f318bb63 | 2018-03-27 08:25:26 | Fix library path handling | ||
| 4f0c9cb3 | 2018-03-27 08:10:03 | Use mixed cygpath paths | ||
| d3693b46 | 2018-03-27 08:05:42 | Copy - don't symlink - to support msvc builds | ||
| 51ce3696 | 2018-03-27 07:35:33 | Use cygpath to convert windows paths | ||
| 70b93e4d | 2018-03-27 07:14:59 | try to fix windows builds | ||
| 377134d7 | 2018-03-27 07:06:01 | Reduce verbosity | ||
| d01ef5b8 | 2018-03-27 06:23:29 | iOS builds | ||
| d13583f5 | 2018-03-27 06:22:57 | Fix -L support | ||
| d4991154 | 2018-03-27 05:59:26 | Fix quoting | ||
| 8f47ec40 | 2018-03-27 05:35:35 | Don't set AM_MAKEFLAGS | ||
| df314193 | 2018-03-27 05:13:38 | Run tests with lots of debug output | ||
| b3949475 | 2018-03-27 05:11:52 | Add -L and -l support | ||
| 33da6c07 | 2018-03-27 05:07:08 | Mention C99 and build requirements | ||
| e6bdbd78 | 2018-03-27 04:46:04 | Remove reference to wiki | ||
| 24eb1f88 | 2018-03-27 04:09:56 | Refactor travis build instructions. Add iOS build | ||
| ffc3ff16 | 2018-03-27 04:02:06 | Add issue template | ||
| 5c2ca479 | 2018-03-27 04:01:37 | Remove uninitialized warning. Fix #163. | ||
| 00813780 | 2018-03-24 09:05:14 | revert | ||
| 59d44242 | 2018-03-24 08:45:59 | Try bhaible tests in appveyor | ||
| 6f7c29c5 | 2018-03-24 08:40:04 | Formatting fixes | ||
| f3c2729e | 2018-03-23 11:47:29 | Add libffi.map.in to extra dist files | ||
| 6d2233f9 | 2018-03-23 09:06:08 | Add sparc solaris build notes | ||
| 99a80d2f | 2018-03-18 21:22:55 | Fix formatting | ||
| a3e87ac8 | 2018-03-18 20:36:52 | Fix formatting | ||
| cec3a3a2 | 2018-03-18 16:00:04 | Don't align-double for 32-bit x86 | ||
| f34f8039 | 2018-03-18 15:30:00 | Remove debug output | ||
| f31b9153 | 2018-03-18 15:13:21 | Add m4/ax_require_defined.m4 | ||
| a2dc5848 | 2018-03-18 13:41:15 | travis debug | ||
| 81d345b2 | 2018-03-18 13:32:03 | Update autoconf archive macros | ||
| 369ef49f | 2018-03-18 12:53:42 | Add missing FFI_GNUW64 enum | ||
| 56655e58 | 2018-03-18 12:34:18 | Merge branch 'master' of github.com:/libffi/libffi | ||
| 43980dd1 | 2018-03-18 12:32:10 | Add FFI_GNUW64 ABI for GNU 80-bit long double support | ||
| 9bc40d87 | 2018-03-18 12:32:10 | Add FFI_GWIN64 ABI for GNU 80-bit long double support | ||
| d4640608 | 2018-03-18 07:00:42 | Fully allocate file backing writable maps (#389) When ftruncate() is used on a filesystem supporting sparse files, space in the file is not actually allocated. Then, when the file is mmap'd and libffi writes to the mapping, SIGBUS is thrown to the calling application. Instead, always fully allocate the file that will back writable maps. | ||
| 247e44b3 | 2018-03-18 07:01:54 | Fix return values | ||
| 1f99701f | 2018-03-17 22:49:58 | Make tests compile/run standalone | ||
| d974207c | 2018-03-17 09:03:42 | Formatting fixes. Add 'bug fixes' note. | ||
| a33bfa9b | 2018-03-17 07:17:24 | xfail unwind tests for moxie | ||
| 8bf05481 | 2018-03-16 23:54:28 | Install moxie libstdc++ | ||
| 84b383ed | 2018-03-16 23:36:51 | Install moxie-elf-g++ | ||
| 6a801d04 | 2018-03-16 17:53:33 | Fix closure case where 8-byte value is partially passed in register. Fixes cls_many_mixed_float_double test case. | ||
| 0f0ba9e0 | 2018-03-16 07:28:33 | Run dejagnu's runtest with -a option to prevent travis timeouts after 10min | ||
| 72545419 | 2018-03-15 08:17:18 | fix .travis.yml | ||
| d71051c4 | 2018-03-14 21:21:06 | fix .travis.yml | ||
| e86aa54c | 2018-03-14 21:00:55 | fix .travis.yml | ||
| 5b538ed6 | 2018-03-14 20:32:00 | fix .travis.yml | ||
| 6ed64a79 | 2018-03-14 20:22:33 | fix .travis.yml | ||
| 90809e92 | 2018-03-14 14:09:39 | fix .travis.yml | ||
| 85e4c623 | 2018-03-14 13:47:27 | fix .travis.yml | ||
| aa8a5ec4 | 2018-03-14 13:25:04 | fix .travis.yml | ||
| 7c3e5da4 | 2018-03-14 13:07:04 | fix .travis.yml | ||
| 19aec198 | 2018-03-14 12:40:58 | Fix travis.yml | ||
| bf337b07 | 2018-03-14 12:15:04 | yaml syntax error fix | ||
| 076d5a98 | 2018-03-14 11:13:32 | markdown fixes | ||
| d2f7e788 | 2018-03-14 09:06:38 | Fix test cases with short results | ||
| 18fe1900 | 2018-03-14 08:02:10 | Debug travis output | ||
| 718a4177 | 2018-03-14 07:40:53 | test | ||
| 486c34b6 | 2018-03-13 23:31:18 | debug | ||
| 00464aa5 | 2018-03-13 23:30:52 | debug | ||
| eb0544d0 | 2018-03-13 23:20:15 | Debug env | ||
| 9d5bd29d | 2018-03-13 23:07:10 | Refactor | ||
| 52a364d7 | 2018-03-13 22:49:48 | fix moxie build | ||
| 1a32b3f1 | 2018-03-13 22:44:13 | fix moxie build | ||
| e8958c3a | 2018-03-13 22:36:41 | revert test | ||
| 58315ae1 | 2018-03-13 22:35:50 | test | ||
| 6239c287 | 2018-03-13 22:13:44 | Add experimental moxie travis build | ||
| 01db31d9 | 2018-03-13 20:41:55 | Update moxie sub opcode | ||
| e8f5a430 | 2018-03-13 09:27:00 | Fix appveyor badge | ||
| d1689dd3 | 2018-03-13 09:24:37 | Fix travis badge. Add REAME.md to dist files | ||
| 785351fb | 2018-03-13 09:21:49 | Preformat release notes | ||
| 8c7fbd16 | 2018-03-13 09:20:44 | Preformat release notes | ||
| 54f31b00 | 2018-03-13 09:17:57 | Try to fix table | ||
| 3a29a27a | 2018-03-13 09:14:40 | Clean up markdown table | ||
| fbfc3b04 | 2018-03-13 09:12:21 | Move to markdown | ||
| a31d3d3b | 2018-03-13 09:11:24 | Add travis and appveyor build badges | ||
| 16313cb2 | 2018-03-13 08:52:30 | Support compiler specific warning suppression flags | ||
| cca6d1fb | 2018-03-13 08:51:34 | Support compiler specific warning suppression flags | ||
| 9291f941 | 2018-03-13 08:37:21 | Add bhaible's missing Makefile | ||
| bede01d8 | 2018-03-13 07:53:33 | Remove stray directory | ||
| 9aefbb10 | 2018-03-13 07:51:02 | Update version number to next pre-release | ||
| ddf7a8f7 | 2018-03-13 07:47:57 | Update test list for dist | ||
| 6186261c | 2018-03-12 21:53:18 | Add Bruno Haible and Bill Triggs' libffi testsuite | ||
| 4e8f79d5 | 2018-03-11 18:21:46 | Next release will be 3.3 | ||
| 3840d49a | 2018-03-11 05:55:15 | New RISC-V port (#281) * Add RISC-V support This patch adds support for the RISC-V architecture (https://riscv.org). This patch has been tested using QEMU user-mode emulation and GCC 7.2.0 in the following configurations: * -march=rv32imac -mabi=ilp32 * -march=rv32g -mabi=ilp32d * -march=rv64imac -mabi=lp64 * -march=rv64g -mabi=lp64d The ABI currently can be found at https://github.com/riscv/riscv-elf-psabi-doc/blob/master/riscv-elf.md . * Add RISC-V to README * RISC-V: fix configure.host | ||
| dca52b55 | 2018-03-11 08:50:01 | Merge pull request #406 from trofi/master ia64: fix variadic function closures with FP arguments | ||
| 83d9aba3 | 2018-03-11 08:48:42 | Merge pull request #407 from trofi/ia64-small-struct ia64: fix small struct return | ||
| ab154056 | 2018-03-11 08:46:58 | Merge pull request #409 from andreas-schwab/master Revert "Fix passing struct by value on aarch64" | ||
| e66fd678 | 2018-02-20 10:47:09 | Revert "Fix passing struct by value on aarch64" This reverts commit 482b37f00467325e3389bab322525099860dd9aa. That was actually a bug in python, see <https://bugs.python.org/issue30353>. | ||
| b58caef7 | 2018-02-17 19:00:40 | ia64: fix small struct return This change fixes libffi.call/struct10.c failure on ia64: FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test .Lst_small_struct handles returns for structs less than 32 bytes (following ia64 return value ABI [1]). Subroutine does roughly the following: ``` mov [sp+0] = r8 mov [sp+8] = r9 mov [sp+16] = r10 mov [sp+24] = r11 memcpy(destination, source=sp, 12); ``` The problem: ia64 ABI guarantees that top 16 bytes of stack are scratch space for callee function. Thus it can clobber it. [1] says (7.1 Procedure Frames): """ * Scratch area. This 16-byte region is provided as scratch storage for procedures that are called by the current procedure. Leaf procedures do not need to allocate this region. A procedure may use the 16 bytes at the top of its own frame as scratch memory, but the contents of this area are not preserved by a procedure call. """ In our case 16 top bytes are clobbered by a PLT resolver when memcpy() is called for the first time. As a result memcpy implementation reads already clobbered data frop top of stack. The fix is simple: allocate 16 bytes of scrats space prior to memcpy() call. [1]: https://www.intel.com/content/dam/www/public/us/en/documents/guides/itanium-software-runtime-architecture-guide.pdf Bug: https://bugs.gentoo.org/634190 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||
| 45da2fcb | 2018-02-17 18:53:02 | new test: return small struct The bug originally was discovered in https://bugs.gentoo.org/634190 where complicated callback was returning invalid data on ia64. This change adds minimal reproducer that fails only on ia64 as: FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O0 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O2 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -O3 execution test FAIL: libffi.call/struct10.c -W -Wall -Wno-psabi -Os execution test Test passes on amd64. The fix is in the following commit. Bug: https://bugs.gentoo.org/634190 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||
| 11de69dd | 2018-02-11 11:29:39 | ia64: fix variadic function closures with FP arguments libffi test framework already flagged failures as: ``` FAIL: libffi.call/cls_double_va.c -W -Wall -Wno-psabi -O0 output pattern test, is 7.0 res: 4 0.0 res: 4 ? should match 7.0 ?es: 4 ?.0 res: 4 ``` Failure happens here at ```c // testsuite/libffi.call/cls_double_va.c ... char* format = "%.1f\n"; double doubleArg = 7; ... CHECK(ffi_prep_closure_loc(pcl, &cif, cls_double_va_fn, NULL, code) == FFI_OK); res = ((int(*)(char*, ...))(code))(format, doubleArg); ``` libffi expects 'doubleArg' to be located in 'f9' (second FP argument) but gcc placed it to 'r33' (second GR). ia64 software [1] manual described argument passing ABI in "8.5.2 Register Parameters" as: """ If an actual parameter is known to correspond to a floating-point formal parameter, the following rules apply: a) The actual parameter is passed in the next available floating-point parameter register, if one is available. Floating-point parameter registers are allocated as needed from the range f8-f15, starting with f8. b) If all available floating-point parameter registers have been used, the actual parameter is passed in the appropriate general register(s). (This case can occur only as a result of homogeneous floating-point aggregates, described below.) If a floating-point actual parameter is known to correspond to a variable-argument specification in the formal parameter list, the following rule applies: c) The actual parameter is passed in the appropriate general register(s). If the compiler cannot determine, at the point of call, whether the corresponding formal parameter is a varargs parameter, it must generate code that satisfies both of the above conditions. (The compiler’s determination may be based on prototype declarations, language standard assumptions, analysis, or other user options or information.) """ We have [c] case here and gcc uses only GR for parameter passing. The change binds known variadic arguments ro GRs instead of FPs as those are always expected to be initialized for all variadic call types. This fixes all 10 failures on ia64-unknown-linux-gnu: ``` === libffi Summary === -# of expected passes 1945 -# of unexpected failures 10 + +# of expected passes 1955 ``` [1]: https://www.intel.com/content/dam/www/public/us/en/documents/guides/itanium-software-runtime-architecture-guide.pdf Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> | ||
| 9429968b | 2018-02-10 23:23:33 | Merge pull request #403 from frida/fix/x86-sysv-pic-closure-regression Fix x86 SysV closure in PIC mode | ||
| f08b2be6 | 2018-02-10 23:21:49 | Merge pull request #405 from andreas-schwab/master Fix passing struct by value on aarch64 |