summaryrefslogtreecommitdiffstats
path: root/libffi
Commit message (Collapse)AuthorAgeFilesLines
* * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.aoliva2003-01-282-177/+220
| | | | | | | | | Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. * Makefile.in, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@62040 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-28 Andrew Haley <aph@redhat.com>aph2003-01-284-1/+240
| | | | | | | | | | * include/ffi.h.in: Enable FFI_CLOSURES for x86_64. * src/x86/ffi64.c (ffi_prep_closure): New. (ffi_closure_UNIX64_inner): New. * src/x86/unix64.S (ffi_closure_UNIX64): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61978 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST.aoliva2003-01-284-10/+25
| | | | | | | | | Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. * Makefile.in, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61935 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (TARGET_SRC_POWERPC_AIX): Fix typo.dje2003-01-273-6/+11
| | | | | | | * Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61899 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-22 Andrew Haley <aph@redhat.com>aph2003-01-222-0/+6
| | | | | | | | * src/powerpc/darwin.S (_ffi_call_AIX): Add Augmentation size to unwind info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61608 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-21 Andreas Tobler <a.tobler@schweiz.ch>tromey2003-01-213-25/+136
| | | | | | | | * src/powerpc/darwin.S: Add unwind info. * src/powerpc/darwin_closure.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61568 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-14 Andrew Haley <aph@redhat.com>aph2003-01-143-3/+52
| | | | | | | | | * src/x86/ffi64.c (ffi_prep_args): Check for void retval. (ffi_prep_cif_machdep): Likewise. * src/x86/unix64.S: Add unwind info. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61291 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/ffitest.c (main): Only use ffi_closures if those areaj2003-01-142-1/+8
| | | | | | | supported. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61273 138bc75d-0d04-0410-961f-82ee72b054a4
* 2003-01-13 Andreas Tobler <a.tobler@schweiz.ch>tromey2003-01-143-30/+275
| | | | | | | | | | | | | * libffi/src/ffitest.c add closure testcases 2003-01-13 Kevin B. Hendricks <khendricks@ivey.uwo.ca> * libffi/src/powerpc/ffi.c fix alignment bug for float (4 byte aligned iso 8 byte) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61263 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/powerpc/ffi_darwin.c: Remove RCS version string.geoffk2003-01-103-4/+5
| | | | | | | * src/powerpc/darwin.S: Remove RCS version string. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61135 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/ffi.h.in: Add closure defines for SPARC, SPARC64.jsturm2003-01-036-8/+327
| | | | | | | | | | * src/ffitest.c (main): Use static storage for closure. * src/sparc/ffi.c (ffi_prep_closure, ffi_closure_sparc_inner): New. * src/sparc/v8.S (ffi_closure_v8): New. * src/sparc/v9.S (ffi_closure_v9): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60857 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge basic-improvements-branch to trunkzack2002-12-165-274/+287
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@60174 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-11-10 Ranjit Mathew <rmathew@hotmail.com>green2002-12-065-5/+250
| | | | | | | | | | | | | | | | | | * include/ffi.h.in: Added FFI_STDCALL ffi_type enumeration for X86_WIN32. * src/x86/win32.S: Added ffi_call_STDCALL function definition. * src/x86/ffi.c (ffi_call/ffi_raw_call): Added switch cases for recognising FFI_STDCALL and calling ffi_call_STDCALL if target is X86_WIN32. * src/ffitest.c (my_stdcall_strlen/stdcall_many): stdcall versions of the "my_strlen" and "many" test functions (for X86_WIN32). Added test cases to test stdcall invocation using these functions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59878 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/s390/sysv.S (.eh_frame section): Make section read-only.uweigand2002-11-272-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59574 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix Portable .NET bug with IA-64 pointer size.wilson2002-11-262-1/+6
| | | | | | | * src/types.c (FFI_TYPE_POINTER): Has size 8 on IA64. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59541 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/ChangeLog:uweigand2002-11-152-8/+20
| | | | | | | | | | * config/s390/s390.h (ASM_PREFERRED_EH_DATA_FORMAT): Define. libffi/ChangeLog: * src/s390/sysv.S (.eh_frame section): Adapt to pcrel FDE encoding. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59134 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Look for common files in the right place.dj2002-11-123-3/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@59039 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/java_raw_api.c (ffi_java_raw_to_ptrarray): Interpretuweigand2002-10-084-29/+102
| | | | | | | | | | | | | | | | | | raw data as _Jv_word values, not ffi_raw. (ffi_java_ptrarray_to_raw): Likewise. (ffi_java_rvalue_to_raw): New function. (ffi_java_raw_call): Call it. (ffi_java_raw_to_rvalue): New function. (ffi_java_translate_args): Call it. * src/ffitest.c (closure_test_fn): Interpret return value as ffi_arg, not int. * src/s390/ffi.c (ffi_prep_cif_machdep): Add missing FFI_TYPE_POINTER case. (ffi_closure_helper_SYSV): Likewise. Also, assume return values extended to word size. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57926 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/x86/ffi64.c (ffi_prep_cif_machdep): Remove debug output.aj2002-10-022-2/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57726 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/ffi.h.in: Fix i386 win32 compilation.bo2002-10-012-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57691 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add s390x-*-linux-* target.uweigand2002-09-308-636/+1030
| | | | | | | | | | | | | | | | * configure: Regenerate. * include/ffi.h.in: Define S390X for s390x targets. (FFI_CLOSURES): Define for s390/s390x. (FFI_TRAMPOLINE_SIZE): Likewise. (FFI_NATIVE_RAW_API): Likewise. * src/prep_cif.c (ffi_prep_cif): Do not compute stack space for s390. * src/types.c (FFI_TYPE_POINTER): Use 8-byte pointers on s390x. * src/s390/ffi.c: Major rework of existing code. Add support for s390x targets. Add closure support. * src/s390/sysv.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57646 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/arm/sysv.S: Fix typo.rearnsha2002-09-292-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57627 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/arm/sysv.S: If we don't have machine/asm.h and the pre-processorrearnsha2002-09-282-0/+21
| | | | | | | | has defined __USER_LABEL_PREFIX__, then use it in CNAME. (ffi_call_SYSV): Handle soft-float. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57609 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-09-27 Bo Thorsen <bo@suse.de>bo2002-09-272-15/+13
| | | | | | | * include/ffi.h.in: Fix multilib x86-64 support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57589 138bc75d-0d04-0410-961f-82ee72b054a4
* boehm-gc:ghazi2002-09-233-2/+6
| | | | | | | | | | | | | | | | | | | | | * Makefile.am (all-multi): Fix multilib parallel build. libf2c: * Makefile.in (all): Fix multilib parallel build. libffi: * Makefile.am (all-multi): Fix multilib parallel build. libiberty: * Makefile.in (all): Fix multilib parallel build. libjava: * Makefile.am (all-multi): Fix multilib parallel build. libobjc: * Makefile.in (all): Fix multilib parallel build. libstdc++-v3: * Makefile.am (all-multi): Fix multilib parallel build. zlib: * Makefile.am (all-multi): Fix multilib parallel build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@57423 138bc75d-0d04-0410-961f-82ee72b054a4
* * boehm-gc/configure, libf2c/configure: Rebuilt.aoliva2002-08-141-138/+174
| | | | | | | | | | | | | | | | | | | * libffi/configure, libiberty/configure: Ditto. * libjava/configure, libobjc/configure: Ditto. * libstdc++-v3/configure, zlib/configure: Ditto. Merged from binutils: 2002-01-27 Daniel Jacobowitz <drow@mvista.com> From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56270 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (sh[34]*-*-linux*): Add brackets.kkojima2002-07-193-2/+7
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55589 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add SH support.kkojima2002-07-199-68/+1526
| | | | | | | | | | | | | * Makefile.in: Regenerate. * configure.in (sh-*-linux*, sh[34]*-*-linux*): Add target. * configure: Regenerate. * include/ffi.h.in: Add SH support. * src/sh/ffi.c: New file. * src/sh/sysv.S: New file. * src/types.c: Add SH support. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55574 138bc75d-0d04-0410-961f-82ee72b054a4
* Forgot this file.bo2002-07-191-4/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55573 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-16 Bo Thorsen <bo@suse.de>bo2002-07-1817-160/+1174
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/x86/ffi64.c: New file that adds x86-64 support. * src/x86/unix64.S: New file that handles argument setup for x86-64. * src/x86/sysv.S: Don't use this on x86-64. * src/x86/ffi.c: Don't use this on x86-64. Remove unused vars. * src/prep_cif.c (ffi_prep_cif): Don't do stack size calculation for x86-64. * src/ffitest.c (struct6): New test that tests a special case in the x86-64 ABI. (struct7): Likewise. (struct8): Likewise. (struct9): Likewise. (closure_test_fn): Silence warning about this when it's not used. (main): Add the new tests. (main): Fix a couple of wrong casts and silence some compiler warnings. * include/ffi.h.in: Add x86-64 ABI definition. * fficonfig.h.in: Regenerate. * Makefile.am: Add x86-64 support. * configure.in: Likewise. * Makefile.in: Regenerate. * configure: Likewise. 2002-06-24 Bo Thorsen <bo@suse.de> * src/types.c: Merge settings for similar architectures. Add x86-64 sizes and alignments. 2002-06-23 Bo Thorsen <bo@suse.de> * src/arm/ffi.c (ffi_prep_args): Remove unused vars. * src/sparc/ffi.c (ffi_prep_args_v8): Likewise. * src/mips/ffi.c (ffi_prep_args): Likewise. * src/m68k/ffi.c (ffi_prep_args): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55571 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-07-18 H.J. Lu (hjl@gnu.org)hjl2002-07-186-156/+197
| | | | | | | | | | | | | | | | * Makefile.am (TARGET_SRC_MIPS_LINUX): New. (libffi_la_SOURCES): Support MIPS_LINUX. (libffi_convenience_la_SOURCES): Likewise. * Makefile.in: Regenerated. * configure.in (mips64*-*): Skip. (mips*-*-linux*): New. * configure: Regenerated. * src/mips/ffi.c: Include <sgidefs.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55561 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/s390/sysv.S: Save/restore %r6. Add DWARF-2 unwind info.uweigand2002-06-062-3/+69
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@54317 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix last commit. Sorry about that.bo2002-05-282-29/+25
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53946 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/x86/ffi.c (ffi_prep_args): Remove reference to avn.sayle2002-05-282-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53942 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-27 Bo Thorsen <bo@suse.de>bo2002-05-272-52/+51
| | | | | | | | * src/x86/ffi.c (ffi_prep_args): Remove unused variable and fix formatting. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53926 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-05-13 Andreas Tobler <a.tobler@schweiz.ch>dje2002-05-132-2/+8
| | | | | | | | * src/powerpc/ffi_darwin.c (ffi_prep_closure): Declare fd at beginning of function (for older apple cc). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53430 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD ataoliva2002-05-083-135/+166
| | | | | | | | script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53278 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (sparc64-*-netbsd*): Add target.thorpej2002-05-053-4/+10
| | | | | | | | (sparc-*-netbsdelf*): Likewise. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@53171 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-28 David S. Miller <davem@redhat.com>davem2002-04-293-2/+6
| | | | | | | * configure.in, configure: Fix SPARC test in previous change. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52878 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-04-29 Gerhard Tonn <GerhardTonn@swol.de>bryce2002-04-299-71/+867
| | | | | | | | | | | | | * Makefile.am: Add Linux for S/390 support. * Makefile.in: Regenerate. * configure.in: Add Linux for S/390 support. * configure: Regenerate. * include/ffi.h.in: Add Linux for S/390 support. * src/s390/ffi.c: New file from libffi CVS tree. * src/s390/sysv.S: New file from libffi CVS tree. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52873 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (HAVE_AS_SPARC_UA_PCREL): Check for workingjakub2002-04-286-0/+90
| | | | | | | | | | | %r_disp32(). * src/sparc/v8.S: Use it. * src/sparc/v9.S: Likewise. * fficonfig.h.in: Rebuilt. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52858 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/java_raw_api.c (ffi_java_raw_size): Handle FFI_TYPE_DOUBLEhboehm2002-04-084-10/+44
| | | | | | | | | | | correctly. * src/ia64/unix.S: Add unwind information. Fix comments. Save sp in a way that's compatible with unwind info. (ffi_call_unix): Correctly restore sp in all cases. * src/ia64/ffi.c: Add, fix comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52048 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/sparc/v8.S: Make .eh_frame dependent on target word size.jakub2002-04-082-6/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@52041 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (alpha*-*-netbsd*): Add target.thorpej2002-04-073-2/+7
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51976 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/sparc/v8.S: Add unwind info.jsturm2002-04-043-3/+85
| | | | | | | * src/sparc/v9.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51873 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-30 Krister Walfridsson <cato@df.lth.se>bryce2002-03-313-63/+70
| | | | | | | | | | | | | * configure.in (i*86-*-netbsdelf*): Don't disable libgcj. libffi: 2002-03-30 Krister Walfridsson <cato@df.lth.se> * configure.in: Enable i*86-*-netbsdelf*. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51620 138bc75d-0d04-0410-961f-82ee72b054a4
* 2002-03-29 David Billinghurst <David.Billinghurst@riotinto.com>billingd2002-03-293-16/+6
| | | | | | | | | PR other/2620 * src/mips/n32.s: Delete * src/mips/o32.s: Delete git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51537 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Enable alpha*-*-freebsd*.ljrittle2002-03-213-2/+7
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51143 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Define ffitest_OBJECTS.bryce2002-03-173-5/+7
| | | | | | | * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50904 138bc75d-0d04-0410-961f-82ee72b054a4
* zlib:bryce2002-03-173-90/+97
| | | | | | | | | | | | | | | | | | | | | | | | | * Makefile.am: Make target library a convenience library. * Makefile.in: Rebuilt. libffi: * Makefile.am: libfficonvenience -> libffi_convenience. * Makefile.in: Rebuilt. boehm-gc: * Makefile.am: Make a convenience library. * Makefile.in: Rebuilt. libjava: Build a single libgcj.so, without separate gc and zlib libraries. * configure.in: Use convenience libraries for boehm-gc and zlib. Set SYS_ZLIBS if system zlib is used. * configure: Rebuilt. * Makefile.am: Use boehm-gc and zlib convenience libraries. * Makefile.in: Rebuilt. * libtool-version: Increment .so version number. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@50900 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud