summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Fix for AArch64. Release as 3.2.1.v3.2.1Anthony Green2014-11-124-4/+9
|
* Fix typoAnthony Green2014-11-111-1/+1
|
* Final 3.2 changesv3.2Anthony Green2014-11-111-3/+3
|
* Final 3.2 changesAnthony Green2014-11-113-7/+9
|
* Mention OpenRISCAnthony Green2014-11-041-1/+1
|
* Merge pull request #134 from s-macke/openriscAnthony Green2014-09-286-0/+503
|\ | | | | Add OpenRISC support
| * Add OpenRISC supportSebastian Macke2014-09-276-0/+503
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds support for the OpenRISC architecture. (http://opencores.org/or1k/Main_Page) This patch has been tested under Linux with QEMU-user emulation support. - 32 Bit - big endian - delayed instructions This is the only available configuration under Linux. The description of the ABI can be found on the official website. Is passes the testsuite except of the unwindtest_ffi_call.cc testcase, which seems to be a problem of gcc and not libffi. Some testcases of the gcc testsuite still fail. Signed-off-by: Sebastian Macke <sebastian@macke.de>
* | Only run the complex type tests on supported platforms.Anthony Green2014-09-281-2/+17
|/
* Add complex type support. Mostly broken right nowAnthony Green2014-09-201-1/+2
|
* Compile tests with -Wno-psabi when using GCCAnthony Green2014-09-201-2/+2
|
* Update version to 3.2Anthony Green2014-09-201-1/+1
|
* More README updates for 3.2Anthony Green2014-09-201-0/+2
|
* Update release notes.Anthony Green2014-09-201-1/+4
|
* 2014-05-11 Bernd Edlinger <bernd.edlinger@hotmail.de>Bernd Edlinger2014-09-203-62/+114
| | | | | | | | | Fix current cygwin-64 build problems. * src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API). * src/x86/ffi.c: Add if defined(__CYGWIN__). * src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT. Added SEH information. Fixed formatting.
* 2014-09-10 Jakub Jelinek <jakub@redhat.com>Jakub Jelinek2014-09-203-4/+397
| | | | | | * src/powerpc/linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined. * src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2.
* Fix -Werror=declaration-after-statement problemMatthias Klose2014-09-201-3/+3
|
* 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com>Dominik Vogt2014-09-2051-38/+1177
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by adding another argument that controls whether the result is const or not (FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion * src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION * src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * doc/libffi.texi (Primitive Types): Document ffi_type_complex_float, ffi_type_complex_double and ffi_type_complex_longdouble (Complex Types): New subsection. (Complex Type Example): Ditto. * testsuite/libffi.call/cls_align_complex_double.c: New FFI_TYPE_COMPLEX test. * testsuite/libffi.call/cls_align_complex_float.c: Ditto. * testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_double.c: Ditto. * testsuite/libffi.call/cls_complex_float.c: Ditto. * testsuite/libffi.call/cls_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_struct_double.c: Ditto. * testsuite/libffi.call/cls_complex_struct_float.c: Ditto. * testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_va_double.c: Ditto. * testsuite/libffi.call/cls_complex_va_float.c: Ditto. * testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto. * testsuite/libffi.call/complex_double.c: Ditto. * testsuite/libffi.call/complex_defs_double.c: Ditto. * testsuite/libffi.call/complex_float.c: Ditto. * testsuite/libffi.call/complex_defs_float.c: Ditto. * testsuite/libffi.call/complex_longdouble.c: Ditto. * testsuite/libffi.call/complex_defs_longdouble.c: Ditto. * testsuite/libffi.call/complex_int.c: Ditto. * testsuite/libffi.call/many_complex_double.c: Ditto. * testsuite/libffi.call/many_complex_float.c: Ditto. * testsuite/libffi.call/many_complex_longdouble.c: Ditto. * testsuite/libffi.call/return_complex1_double.c: Ditto. * testsuite/libffi.call/return_complex1_float.c: Ditto. * testsuite/libffi.call/return_complex1_longdouble.c: Ditto. * testsuite/libffi.call/return_complex2_double.c: Ditto. * testsuite/libffi.call/return_complex2_float.c: Ditto. * testsuite/libffi.call/return_complex2_longdouble.c: Ditto. * testsuite/libffi.call/return_complex_double.c: Ditto. * testsuite/libffi.call/return_complex_float.c: Ditto. * testsuite/libffi.call/return_complex_longdouble.c: Ditto. * src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX (ffi_ptrarray_to_raw): Ditto. * src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not implemented in libffi for the target. * src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported yet (abort). (ffi_java_raw_to_ptrarray): Ditto. (ffi_java_rvalue_to_raw): Ditto. (ffi_java_raw_to_rvalue): Ditto. * src/debug.c (ffi_type_test): Add debug tests for complex types. * include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX. (FFI_TYPE_LAST): Bump. (ffi_type_complex_float): Add new ffi_type_.... (ffi_type_complex_double): Ditto. (ffi_type_complex_longdouble): Ditto. 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com> * src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide FFI_TYPE_COMPLEX support. * src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX (ffi_prep_args): Ditto. (ffi_prep_cif_machdep): Ditto. (ffi_closure_helper_SYSV): Ditto.
* Merge pull request #132 from nielsAD/masterAnthony Green2014-09-183-721/+842
|\ | | | | Pascal and Register calling convention support on x86
| * Determine whether register arguments (THISCALL/FASTCALL/REGISTER) are really ↵nielsAD2014-08-253-141/+205
| | | | | | | | passed via register to closures. Use stack if not.
| * Fixed THISCALL/FASTCALL closures and added basic support for PASCAL/REGISTER ↵nielsAD2014-08-252-56/+100
| | | | | | | | closures.
| * Support for calling functions with PASCAL and REGISTER calling conventions ↵nielsAD2014-08-243-618/+631
| | | | | | | | | | | | on x86 Windows/Linux. Also changed indentation to be more consistent throughout the (adjusted) files.
* | Merge pull request #130 from frida/fix/darwin-aarch64-float-alignmentAnthony Green2014-09-181-0/+3
|\ \ | | | | | | Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI
| * | Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABIOle André Vadla Ravnås2014-07-261-0/+3
| |/
* | Merge pull request #129 from frida/fix/darwin-aarch64-cif-prepAnthony Green2014-09-181-1/+7
|\ \ | | | | | | Fix non-variadic CIF initialization for Apple/ARM64
| * | Fix non-variadic CIF initialization for Apple/ARM64Ole André Vadla Ravnås2014-07-261-1/+7
| |/ | | | | | | | | Turns out `aarch64_nfixedargs` wasn't initialized in the non-variadic case, resulting in undefined behavior when allocating arguments.
* | Merge pull request #124 from knuesel/masterAnthony Green2014-09-181-1/+2
|\ \ | | | | | | Fix issue with builddir when calling configure with absolute path
| * | Fix issue with builddir when calling configure with absolute pathJeremie Knuesel2014-06-251-1/+2
| |/
* | Merge pull request #123 from ehsan/clang-clAnthony Green2014-09-183-5/+30
|\ \ | |/ |/| Add support for building with clang-cl
| * Enable forcing the usage of the static CRT in libffi's msvc wrapperEhsan Akhgari2014-07-311-2/+18
| | | | | | | | This is required for AddressSanitizer builds with clang-cl.
| * Add support for building with clang-clEhsan Akhgari2014-06-123-3/+12
| |
* | Remove compiler warningAnthony Green2014-06-121-1/+4
| |
* | Fix paths in libffi.pc.inSamuli Suominen2014-06-121-5/+5
|/
* Merge pull request #122 from rvandermeulen/1014976Anthony Green2014-06-061-1/+5
|\ | | | | Don't make --enable-debug imply using the debug CRT in libffi
| * Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi.Mike Hommey2014-06-021-1/+5
|/
* Prepare for libffi 3.1.1Anthony Green2014-05-312-1/+4
|
* Add missing GNU stack markings in win32.SSamuli Suominen2014-05-311-1/+5
|
* Fix typoRyan Hill2014-05-311-3/+3
|
* Update current version.Anthony Green2014-05-241-1/+1
|
* Increment libtool version numberAnthony Green2014-05-191-1/+1
|
* Merge pull request #120 from l0kod/tmpfileAnthony Green2014-05-192-6/+31
|\ | | | | Create temporary file with O_TMPFILE and O_CLOEXEC when available
| * closures: Check for mkostemp(3)Mickaël Salaün2014-05-192-2/+8
| |
| * closures: Create temporary file with O_TMPFILE and O_CLOEXEC when availableMickaël Salaün2014-05-191-5/+24
|/ | | | | | | | | | | | | | | | | The open_temp_exec_file_dir function can create a temporary file without file system accessible link. If the O_TMPFILE flag is not defined (old Linux kernel or libc) the behavior is unchanged. The open_temp_exec_file_name function now need a new argument "flags" (like O_CLOEXEC) used for temporary file creation. The O_TMPFILE flag allow temporary file creation without race condition. This feature/fix prevent another process to access the (future) executable file from the file system. The O_CLOEXEC flag automatically close the temporary file for any execve. This avoid transmitting (executable) file descriptor to a child process.
* Update date. Annoucing 3.1 today.v3.1Anthony Green2014-05-191-2/+2
|
* Increment libtool library revision numberAnthony Green2014-05-191-1/+1
|
* Update to version 3.1Anthony Green2014-05-113-8/+8
|
* Support versions of git older than 1.8.5Anthony Green2014-05-111-1/+1
|
* Fix testsuite for GCC 4.9.0Anthony Green2014-05-111-1/+1
|
* Check /proc/self/status for PaX status.Magnus Granberg2014-05-111-3/+19
|
* Use to get correct dirDominik Vogt2014-05-111-1/+1
|
* Merge pull request #119 from joshtriplett/fastcall-fastballAnthony Green2014-04-231-0/+9
|\ | | | | src/x86/win32.S: Define ffi_closure_FASTCALL in the MASM section, too