summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* 2014-07-22 Dominik Vogt <vogt@linux.vnet.ibm.com>Dominik Vogt2014-09-201-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Add support for building with clang-clEhsan Akhgari2014-06-121-1/+1
|
* Fix typoRyan Hill2014-05-311-3/+3
|
* Remove autogenerated files from the repositoryJosh Triplett2014-03-161-582/+0
| | | | Add an autogen.sh to regenerate them.
* Undo iOS ARM64 changes.Anthony Green2013-12-051-1/+1
|
* Darwin/iOS: Fix LLVM 3.3 warning re: memcpy.Zachary Waldowski2013-11-301-1/+1
|
* This separates the 32-bit sysv/linux/bsd code from the 64-bit linuxAlan Modra2013-11-212-0/+6
| | | | | | | | | | | | | | | | 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.
* Respect HAVE_ALLOCA_HAnthony Green2013-11-131-7/+11
|
* Add m88k and VAX support. Update some configury bits.Anthony Green2013-10-081-58/+103
|
* Don't use GCCisms to define types whenAnthony Green2013-01-101-1/+1
| | | | + building with the SUNPRO compiler.
* missed trampoline_table patch. Move to GCC.Anthony Green2013-01-021-1/+15
|
* Windows symbol export fix. Move to GCC.Anthony Green2013-01-021-13/+27
|
* New stand-alone patchAnthony Green2013-01-022-51/+103
|
* Merge with GCC. Eliminate quilt bits.Anthony Green2013-01-023-129/+63
|
* Pull in config.sub for aarch64 support and moreAnthony Green2012-11-121-1/+12
|
* Add missing aarch64 configury bitsAnthony Green2012-11-061-12/+1
|
* Fix autoconf macrosAnthony Green2012-10-301-1/+14
|
* RebaseAnthony Green2012-10-111-13/+45
|
* Add blackfin supprt from Alexandre Keunecke.Anthony Green2012-04-271-11/+1
|
* Fix building with Clang for Darwin (OS X 10.6+ and iOSZachary Waldowski2012-04-051-1/+15
| | | | 4.0+)
* Various MSVC-related changes.Peter Rosin2012-03-301-13/+27
|
* Rebase post GCC mergeAnthony Green2012-03-191-0/+2
|
* Fix ABI check regressionAnthony Green2012-02-151-2/+0
|
* Refresh autoconf-archive m4 scriptsAnthony Green2012-02-031-0/+9
|
* Rebase from GCCAnthony Green2012-02-011-10/+0
|
* Unlikely fixesAnthony Green2012-01-231-3/+3
|
* RefreshAnthony Green2012-01-231-1/+14
|
* Rerun automakeAnthony Green2011-11-121-14/+1
|
* Add David Gilbert's variadic function call supportAnthony Green2011-11-122-0/+18
|
* RebaseAnthony Green2011-11-121-1/+2
|
* Build assembly files with debug infoAnthony Green2011-09-061-4/+14
|
* 3.0.11-rc1. soname bump.Anthony Green2011-08-231-14/+4
|
* Version 3.0.10v3.0.10Anthony Green2011-08-231-1/+13
|
* Fix use of autoconf macrosAnthony Green2011-08-221-4/+4
|
* Many new patchesAnthony Green2011-08-221-4/+4
|
* Refresh from GCCAnthony Green2011-07-291-13/+1
|
* More AIX fixes. rc9.Anthony Green2011-02-281-16/+5
|
* Merge remote branch 'upstream/master'Landon Fuller2011-02-132-9/+23
|\
| * Fix bad_abi test. rc5.Anthony Green2011-02-132-9/+23
| |
* | Modify the ffi_closure structures to hold table/table entry pointers instead ↵Landon Fuller2011-02-121-0/+15
|/ | | | | | of a code buffer. This re-integrates commit da2773e02ab26cc11a7f.
* rc4Anthony Green2011-02-121-14/+4
|
* ungccify parts of the buildAnthony Green2011-02-121-4/+14
|
* Use newer autotools. Only build debug.c when --enable-debug.Anthony Green2011-02-111-1/+4
|
* Fix IRIX supportAnthony Green2011-02-091-0/+6
|
* Add Interix supportAnthony Green2011-02-091-0/+2
|
* Update to rc2Anthony Green2011-02-091-2/+0
|
* Clean upsAnthony Green2011-02-081-15/+0
|
* Add iOS supportAnthony Green2011-02-082-0/+17
|\
| * Modify the ffi_closure structures to hold table/table entry pointers instead ↵Landon Fuller2010-09-191-0/+15
| | | | | | | | of a code buffer.
* | Rebase from GCCAnthony Green2011-02-081-1/+0
| |