Lines Matching refs:ffi
24 * src/x86/ffi.c: Add support for FFI_STDCALL, FFI_THISCALL, and
166 * src/aarch64/ffi.c: Fix missing semicolons on assertions under
172 * src/aarch64/ffi.c, src/arm/ffi.c, src/x86/ffi.c: Inhibit Clang
174 * src/arm/ffi.c: Prevent NULL dereference, fix short type warning
188 * src/aarch64/ffi.c: Clean up for double == long double. Clean up
200 * configure, Makefile.in, include/Makefile.in, include/ffi.h.in,
208 * include/ffi.h.in (ffi_prep_types): Declare.
213 * src/powerpc/ffi.c: Split into..
230 * src/powerpc/ffi.c (ffi_prep_cif_machdep_core): Use
244 * src/arm/ffi.c (ffi_call): Hoist declaration of temp to top of
246 * src/arm/ffi.c (ffi_closure_inner): Moderize function declaration
261 * src/powerpc/ffi.c (ffi_prep_cif_machdep_core): Use #if _CALL_ELF
266 * src/powerpc/ffi.c (FLAG_ARG_NEEDS_PSAVE): Define.
290 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Revert 2013-02-08
300 * src/powerpc/ffi.c (ffi_prep_args64): Align struct parameters
318 * src/powerpc/ffi.c (ffi_prep_args64): Save fprs as per the
345 * src/arm/ffi.c: Fix register allocation for mixed float and
395 * src/arm/ffi.c: more robust argument handling for closures on arm hardfloat
401 * src/x86/ffi.c (ffi_prep_cif_machdep): Don't align stack for win32.
405 * src/mips/ffi.c: Fix handling of uint32_t arguments on the
417 * src/nios2/ffi.c: New.
435 * src/aarch64/ffi.c, src/aarch64/sysv.S, src/arm/ffi.c,
437 src/dlmalloc.c, src/ia64/ffi.c, src/microblaze/ffi.c,
439 src/powerpc/ffi.c, src/powerpc/ffi_darwin.c, src/sh/ffi.c,
456 src/m88k/ffi.c,
460 src/vax/ffi.c,
465 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Move var declaration
478 * src/arc/ffi.c: Likewise.
483 * src/arm/ffi.c: Fix support for ARM hard-float calling convention.
512 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Don't use
522 * src/x86/ffi.c (ffi_prep_cif_machdep): Always align stack.
529 * src/metag/ffi.c: New.
547 * src/moxie/ffi.c: Created.
578 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Fix small struct
589 * src/sparc/ffi.c (ffi_prep_closure_loc): Fix cache flushing for GCC.
597 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Account for FP args pushed
611 * src/sparc/ffi.c (ffi_prep_closure_loc): Flush cache on v9
618 * src/microblaze/ffi.c (ffi_closure_call_SYSV): Fix handling of
634 * src/sparc/ffi.c (ffi_call): Remove warning.
688 * src/microblaze/ffi.c: New.
704 * src/xtensa/ffi.c: New file.
762 * src/x86/ffi.c: Update comment about regparm function attributes.
806 * src/m68k/ffi.c (CIF_FLAGS_SINT8, CIF_FLAGS_SINT16): Define.
819 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Fix build error on ppc
851 * src/aarch64/ffi.c: New.
882 * src/tile/ffi.c: New file.
897 * src/mips/ffi.c (ffi_prep_closure_loc): Allow n32 with soft-float and n64 with
902 * src/s390/ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test,
925 * src/bfin/ffi.c: Add Blackfin/sysv support
973 * include/ffi.h.in: Add missing trampoline table fields.
976 * src/x86/ffi.c: Wrap Windows specific code in ifdefs.
980 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Declare double_tmp.
1010 * include/ffi.h.in [MSVC]: Add __declspec(dllimport) decorations
1018 * src/x86/ffi.c (ffi_prep_cif_machdep): Tweak the structure
1165 * src/m68k/ffi.c: Add MINT support.
1170 * src/arm/ffi.c (ffi_call): Add __ARM_EABI__ guard around call to
1183 * src/sh/ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test,
1185 * src/sh64/ffi.c (ffi_prep_closure_loc): Ditto.
1229 * src/x86/ffi.c (ffi_closure_raw_THISCALL): New
1247 * src/x86/ffi.c (ffi_closure_THISCALL): Add prototype.
1257 * src/libffi/src/x86/ffi.c (ffi_call_win32): Add new
1276 * src/alpha/ffi.c (ffi_prep_closure_loc): Check for bad ABI.
1296 * src/ia64/ffi.c (ffi_call): Fix up aliasing violations.
1314 * doc/libffi.texi, include/ffi.h.in, include/ffi_common.h,
1315 man/Makefile.am, man/ffi.3, man/ffi_prep_cif.3,
1316 man/ffi_prep_cif_var.3, src/arm/ffi.c, src/arm/ffitarget.h,
1317 src/cris/ffi.c, src/prep_cif.c,
1325 * src/powerpc/ffi.c, src/powerpc/ffitarget.h,
1336 * src/arm/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV): Max
1342 * src/ppc/sysv.S, src/ppc/ffi.c: Remove use of ppc string
1386 * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Remove hard-coded assembly
1392 * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Clear icache.
1428 * src/powerpc/ffi.c (ffi_prep_closure_loc): Allow for more
1449 * src/pa/ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test,
1451 * src/arm/ffi.c (ffi_prep_closure_loc): Ditto.
1452 * src/powerpc/ffi.c (ffi_prep_closure_loc): Ditto.
1453 * src/mips/ffi.c (ffi_prep_closure_loc): Ditto.
1454 * src/ia64/ffi.c (ffi_prep_closure_loc): Ditto.
1455 * src/avr32/ffi.c (ffi_prep_closure_loc): Ditto.
1459 * src/sparc/ffi.c (ffi_prep_closure_loc): Don't ASSERT ABI test,
1472 * include/ffi.h.in: Add pragma for SGI compiler.
1504 * src/arm/ffi.c (ffi_trampoline_table)
1525 * src/sparc/ffi.c (ffi_call): Make compatible with Solaris Studio
1544 * include/ffi.h.in (FFI_64_BIT_MAX): Define and use.
1560 * libffi/src/m68k/ffi.c: Add RTEMS support for cache flushing.
1632 * src/arm/ffi.c (ffi_prep_args): Add VFP register argument handling
1701 * src/x86/ffi.c: Remove redundant ifdef checks.
1702 * src/prep_cif.c: Push stack space computation into src/x86/ffi.c
1713 * src/cris/ffi.c: Ditto.
1721 * include/ffi.h.in: Protect #define with #ifndef.
1752 * src/x86/ffi.c (ffi_call): Don't copy structs passed by value.
1757 * src/ia64/ffi.c (ffi_prep_cif_machdep): Ditto.
1765 * src/x86/ffi.c: Ditto.
1805 * src/x86/ffi.c: Use /* ... */ comment style.
1826 * src/x86/ffi.c: Tweak function declaration and remove excess
1828 * include/ffi.h.in: Add __declspec(align(8)) to typedef struct
1831 * src/x86/ffi.c: Merge ffi_call_SYSV and ffi_call_STDCALL into new
1838 * src/x86/ffi.c (ffi_prep_cif_machdep): To here.
1947 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Advance intarg_count
1959 * include/ffi.h.in: Placed '__GNUC__' ifdef around
1964 * src/mips/ffi.c (ffi_call, ffi_closure_mips_inner_O32,
1975 * configure.ac, Makefile.am, src/avr32/ffi.c,
1991 * src/pa/ffi.c (ffi_closure_inner_pa32): Handle FFI_TYPE_LONGDOUBLE
1997 * src/x86/ffi.c (ffi_prep_raw_closure_loc): Add thiscall
2003 * src/sparc/ffi.c (ffi_closure_sparc_inner_v9): Properly align 'long
2135 * src/x86/ffi.c (ffi_prep_cif_machdep): Add X86_FREEBSD to
2151 * src/mips/ffi.c (ffi_prep_args, calc_n32_struct_flags,
2187 * src/x86/ffi.c (ffi_prep_cif_machdep): Also use sign/zero-extending
2226 * src/powerpc/ffi.c: Avoid clobbering cr3 and cr4, which are
2277 include/ffi.h.in,
2281 src/x86/ffi.c,
2417 * include/ffi.h.in (FFI_FN): Change void (*)() to void (*)(void).
2493 * src/x86/ffitarget.h, src/x86/ffi.c: Merge stdcall changes from
2498 * src/x86/ffitarget.h, src/x86/win32.S, src/x86/ffi.c: Back out
2504 * src/x86/ffi.c (ffi_closure_SYSV_inner): Change C++ comment to C
2509 * src/x86/ffi.c (FFI_INIT_TRAMPOLINE_STDCALL): Calculate jump return
2519 * src/x86/ffi.c: Initialize stdcall closure trampoline.
2523 * include/ffi.h.in: Change void (*)() to void (*)(void).
2524 * src/x86/ffi.c: Likewise.
2532 * src/sh64/ffi.c: Change void (*)() to void (*)(void).
2533 * src/powerpc/ffi.c: Likewise.
2535 * src/m32r/ffi.c: Likewise.
2536 * src/sh64/ffi.c: Likewise.
2538 * src/alpha/ffi.c: Likewise.
2540 * src/frv/ffi.c: Likewise.
2541 * src/s390/ffi.c: Likewise.
2542 * src/pa/ffi.c: Likewise.
2545 * src/ia64/ffi.c: Likewise.
2546 * src/sparc/ffi.c: Likewise.
2547 * src/mips/ffi.c: Likewise.
2548 * src/sh/ffi.c: Likewise.
2552 * src/mips/ffi.c (USE__BUILTIN___CLEAR_CACHE):
2559 include/ffi.h.in,
2561 src/arm/ffi.c,
2566 src/sh64/ffi.c,
2573 src/x86/ffi.c,
2577 src/alpha/ffi.c,
2581 src/frv/ffi.c,
2587 src/pa/ffi.c,
2591 src/ia64/ffi.c,
2597 src/sparc/ffi.c,
2602 src/mips/ffi.c,
2605 src/sh/ffi.c,
2658 * src/sparc/ffi.c (ffi_prep_cif_machdep): Add support for
2677 * src/powerpc/ffi.c: Add two new flags to indicate if we have one
2686 * src/sh/ffi.c (ffi_prep_closure_loc): Turn INSN into an unsigned
2764 * src/x86/ffi.c (ffi_prep_cif_machdep): Fix thinko.
2769 * src/x86/ffi.c (ffi_prep_cif_machdep): Add code for
2791 * src/mips/ffi.c (ffi_prep_cif_machdep): Handle long double return
2796 * include/ffi.h.in (FFI_SIZEOF_JAVA_RAW): Define if not already
2830 * src/powerpc/ffi.c: Distinguish between __NO_FPRS__ and not and
2855 * src/powerpc/ffi.c: Add a comment to show which part goes into cr6.
2864 * src/arm/ffi.c (ffi_prep_args): Align structs by at least 4 bytes.
2876 * src/arm/ffi.c (FFI_INIT_TRAMPOLINE): Use __clear_cache instead of
2986 * src/mips/ffi.c: Use FFI_MIPS_N32 instead of
3059 * src/x86/ffi.c (ffi_prep_cif_machdep): in x86 case, add code for
3080 * src/mips/ffi.c: Don't include sys/cachectl.h.
3086 * src/arm/ffi.c (ffi_prep_closure_loc): Renamed and ajusted
3092 * src/arm/ffi.c (ffi_prep_incoming_args_SYSV,
3189 * src/m68k/ffi.c (ffi_prep_incoming_args_SYSV,
3206 * src/m68k/ffi.c (ffi_prep_args,ffi_prep_cif_machdep): Fix
3221 * include/ffi.h.in: Don't define ffi_type_foo if
3230 * src/alpha/ffi.c (FFI_TYPE_LONGDOUBLE): Assert unique value.
3265 * src/powerpc/ffi.c (flush_icache): Fix left-over from previous
3271 * include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
3298 * src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
3300 * src/pa/ffi.c: Likewise.
3301 * src/cris/ffi.c: Likewise. Adjust.
3302 * src/frv/ffi.c: Likewise.
3303 * src/ia64/ffi.c: Likewise.
3304 * src/mips/ffi.c: Likewise.
3306 * src/s390/ffi.c: Likewise.
3307 * src/sh/ffi.c: Likewise.
3308 * src/sh64/ffi.c: Likewise.
3309 * src/sparc/ffi.c: Likewise.
3311 * src/x86/ffi.c: Likewise.
3315 * src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
3331 * src/s390/ffi.c (ffi_prep_args, ffi_prep_cif_machdep,
3385 * src/x86/ffi.c (ffi_prep_cif_machdep) [X86_DARWIN]: Treat like
3393 * include/Makefile.am: Install both ffi.h and ffitarget.h in
3407 * include/ffi.h.in: Likewise.
3411 * include/ffi.h.in (ffi_type_ulong, ffi_type_slong): Define correctly
3430 * pa/ffi.c (ffi_prep_args_pa32): Load floating point arguments from
3442 * src/arm/ffi.c: Remove lint directives.
3443 * src/m32r/ffi.c: Likewise.
3444 * src/pa/ffi.c: Likewise.
3445 * src/powerpc/ffi.c: Likewise.
3447 * src/sh/ffi.c: Likewise.
3448 * src/sh64/ffi.c: Likewise.
3449 * src/x86/ffi.c: Likewise.
3463 * src/ia64/ffi.c (stf_spill, ldf_fill): Rewrite as macros.
3498 * src/pa/ffi.c (ROUND_DOWN): Delete.
3532 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Handle linux variant of
3553 * src/sh64/ffi.c (ffi_prep_cif_machdep): Handle float arguments
3708 * src/sh/ffi.c (ffi_closure_helper_SYSV): Remove unused variable
3766 * src/mips/ffi.c (ffi_prep_args): Code formatting. Fix
3773 * src/powerpc/ffi.c: Formatting.
3788 * src/powerpc/ffi.c (FLAG_RETURNS_128BITS): New constant.
3794 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Correct placement of stack
3804 * src/powerpc/ffi.c (hidden): Remove.
3809 * src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV): Remove,
3833 * src/sh/ffi.c (ffi_prep_args): Fix sh3 argument copy, when it is
3840 * src/sh/ffi.c (ffi_call): Handle small structures correctly.
3842 * src/sh64/ffi.c (simple_type): Remove.
3861 * src/powerpc/ffi.c: Add flags to handle small structure returns
3878 * src/pa/ffi.c (ffi_struct_type): Rename FFI_TYPE_SMALL_STRUCT1
3957 * src/cris/ffi.c, src/cris/sysv.S, src/cris/ffitarget.h: New files.
3995 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to
4032 * src/ia64/ia64_flags.h, src/ia64/ffi.c, src/ia64/unix.S: Rewrite
4108 * src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integers
4114 * src/arm/ffi.c (ffi_prep_cif_machdep): Handle functions that return
4143 * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline for
4158 * src/m32r/ffi.c: New file.
4205 * src/powerpc/ffi.c: Likewise.
4219 * include/ffi.h.in: Force ffi_closure to have a nice big (8)
4222 * src/frv/ffi.c, src/frv/ffitarget.h, src/frv/eabi.S: New files.
4290 * src/mips/ffi.c (ffi_prep_args): Fix alignment calculation.
4302 * src/mips/ffi.c (ffi_pref_cif_machdep): set `cif->flags' to
4333 * src/s390/ffi.c (ffi_prep_args): Fix C aliasing violation.
4403 * src/pa/ffi.h.in: Remove.
4413 * src/pa/ffi.c: New file.
4414 * src/pa/ffi.h.in: Add PA support.
4422 * src/x86/ffi.c (ffi_prep_args): Replace ecif->cif->rtype->type
4468 * src/ia64/ffi.c (ffi_prep_incoming_args_UNIX): Get floating point
4478 * src/powerpc/ffi.c (ffi_prep_args_SYSV): Change
4486 * src/powerpc/ffi.c (ffi_prep_args64): Correct long double handling.
4495 * src/powerpc/ffi.c (ffi_prep_cif_machdep <FFI_LINUX64>): Correct
4512 * src/sparc/ffi.c (ffi_prep_args_v9): Shift the parameter array
4590 * src/x86/ffi.c (ffi_prep_args, ffi_prep_incoming_args_SYSV):
4777 * src/ia64/ffi.c: Replace FALSE/TRUE with false/true.
4791 Avoid that ffi.h includes fficonfig.h.
4810 * include/ffi.h.in: Remove all system specific definitions.
4824 instead of in ffi.h
4825 (FLOAT32, ALIGN): Define here instead of in ffi.h
4826 * include/ffi-mips.h: Removed. Its content moved to
4828 * src/alpha/ffi.c, src/alpha/ffi.c, src/java_raw_api.c
4829 src/prep_cif.c, src/raw_api.c, src/ia64/ffi.c,
4830 src/mips/ffi.c, src/mips/n32.S, src/mips/o32.S,
4831 src/mips/ffitarget.h, src/sparc/ffi.c, src/x86/ffi64.c:
4833 * src/ia64/ffi.c: Include stdbool.h (provided by GCC 2.95+).
4856 * src/mips/ffi.c: Use _ABIN32, _ABIO32 instead of external
4942 * src/sh/ffi.c (ffi_prep_args): Take account into the alignement
4969 * src/powerpc/ffi.c (ffi_prep_args64): Correct next_arg calc for
4976 * src/powerpc/ffi.c (ffi_closure_helper_SYSV) Handle struct
5062 * src/sh/ffi.c (OFS_INT16): Set 0 for little endian case. Update
5067 * src/powerpc/ffi.c (ffi_prep_args64): Modify for changed gcc
5077 * src/sparc/ffi.c: Handle all floating point registers.
5087 * src/powerpc/ppc_closure.S: Include ffi.h.
5100 * include/ffi.h.in: Add SHmedia support.
5101 * src/sh64/ffi.c: New file.
5110 * include/ffi.h.in (EH_FRAME_FLAGS): Define.
5113 * src/powerpc/linux64_closure.S: Likewise. Include ffi.h.
5122 * src/s390/sysv.S: Use EH_FRAME_FLAGS. Include ffi.h.
5135 * include/ffi.h.in (POWERPC64): Define if 64-bit.
5141 * src/powerpc/ffi.c (hidden): Define.
5183 * libffi/include/ffi.h.in: Define X86 instead of X86_64 in 32
5185 * libffi/src/x86/ffi.c (ffi_closure_SYSV, ffi_closure_raw_SYSV):
5210 * src/s390/ffi.c (ffi_closure_helper_SYSV): Add hidden visibility
5229 * include/ffi.h.in: Enable FFI_CLOSURES for x86_64.
5274 * libffi/src/powerpc/ffi.c
5284 * include/ffi.h.in: Add closure defines for SPARC, SPARC64.
5286 * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New.
5292 * include/ffi.h.in: Added FFI_STDCALL ffi_type
5296 * src/x86/ffi.c (ffi_call/ffi_raw_call): Added
5343 * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing
5354 * include/ffi.h.in: Fix i386 win32 compilation.
5360 * include/ffi.h.in: Define S390X for s390x targets.
5366 * src/s390/ffi.c: Major rework of existing code. Add support for
5382 * include/ffi.h.in: Fix multilib x86-64 support.
5399 * include/ffi.h.in: Add SH support.
5400 * src/sh/ffi.c: New file.
5410 * src/x86/ffi.c: Don't use this on x86-64.
5422 * include/ffi.h.in: Add x86-64 ABI definition.
5436 * src/arm/ffi.c (ffi_prep_args): Remove unused vars.
5437 * src/sparc/ffi.c (ffi_prep_args_v8): Likewise.
5438 * src/mips/ffi.c (ffi_prep_args): Likewise.
5439 * src/m68k/ffi.c (ffi_prep_args): Likewise.
5452 * src/mips/ffi.c: Include <sgidefs.h>.
5460 * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.
5464 * src/x86/ffi.c (ffi_prep_args): Remove unused variable and
5494 * include/ffi.h.in: Add Linux for S/390 support.
5495 * src/s390/ffi.c: New file from libffi CVS tree.
5514 * src/ia64/ffi.c: Add, fix comments.
5561 * include/ffi.h.in: Add AIX and Darwin closure definitions.
5570 * include/ffi.h.in: Add typedef for ffi_arg.
5599 * include/ffi.h.in (ffi_abi): Add FFI_AIX.
5612 * include/ffi.h.in: Define FFI_DARWIN and FFI_DEFAULT_ABI for
5619 * src/x86/ffi.c: Fix spelling error of "separate" as "seperate".
5628 * src/alpha/ffi.c (ffi_prep_closure): Avoid gas-only mnemonic.
5664 * src/ia64/ffi.c: Fix typo in comment.
5688 * include/ffi.h.in: Added X86_WIN32 target support.
5707 * src/powerpc/ffi.c (ffi_prep_args): Fixed ABI compatibility bug
5712 * include/ffi.h.in (FFI_CLOSURES): Define on PPC.
5726 * include/ffi.h.in: Remove RCS ident string.
5732 * src/alpha/ffi.c: Remove RCS ident string.
5734 * src/arm/ffi.c: Remove RCS ident string.
5736 * src/mips/ffi.c: Remove RCS ident string.
5739 * src/sparc/ffi.c: Remove RCS ident string.
5742 * src/x86/ffi.c: Remove RCS ident string.
5747 * include/ffi.h.in: Change sourceware.cygnus.com references to
5752 * src/alpha/ffi.c (ffi_call): Simplify struct return test.
5763 * include/ffi.h.in [ALPHA]: Define FFI_CLOSURES and
5765 * src/alpha/ffi.c (ffi_prep_cif_machdep): Adjust minimal
5823 * include/ffi.h.in (SPARC64): Define for 64bit SPARC builds.
5825 * src/sparc/ffi.c (ffi_prep_args_v8): Renamed from ffi_prep_args.
5888 * src/ia64/ffi.c, src/ia64/ia64_flags.h, src/ia64/unix.S: New
5898 * include/ffi.h.in (ALIGN): Use size_t, not unsigned.
5917 * include/ffi.h.in: Removed PACKAGE and VERSION defines and
5927 * include/ffi.h.in: Try to work around messy header problem
5936 * src/x86/ffi.c (ffi_raw_call): Rename.
5940 * src/x86/ffi.c (ffi_closure_SYSV): New function.
5947 * include/ffi.h.in: Add definitions for closure and raw API.
5949 * src/x86/ffi.c (ffi_prep_cif_machdep): Added case for
5956 * include/ffi.h.in (ffi_raw): New type.