summaryrefslogtreecommitdiff
path: root/libffi
Commit message (Collapse)AuthorAgeFilesLines
* PR libgcj/21943ro2005-06-153-2/+10
| | | | | | | | * src/mips/n32.S: Enforce PIC code. * src/mips/o32.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100961 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Treat i*86-*-solaris2.10 and up as X86_64.ro2005-06-143-0/+7
| | | | | | | * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100959 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/powerpc/ppc_closure.S (ffi_closure_SYSV): Don't use JUMPTARGETamodra2005-06-013-2/+8
| | | | | | | | to call ffi_closure_helper_SYSV. Append @local instead. * src/powerpc/sysv.S (ffi_call_SYSV): Likewise for ffi_prep_args_SYSV. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@100416 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixup the date of last entrykcook2005-05-181-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99881 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-03 Kelley Cook <kcook@gcc.gnu.org>kcook2005-05-189-112/+816
| | | | | | | | | | | * configure.ac: Use AC_C_BIGENDIAN instead of AC_C_BIGENDIAN_CROSS. Use AC_CHECK_SIZEOF instead of AC_COMPILE_CHECK_SIZEOF. * Makefile.am (ACLOCAL_AMFLAGS): Remove -I ../config. * aclocal.m4, configure, fficonfig.h.in, Makefile.in, include/Makefile.in, testsuite/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99879 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-05-102-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99498 138bc75d-0d04-0410-961f-82ee72b054a4
* PR libffi/21285rth2005-05-082-45/+54
| | | | | | | * src/alpha/osf.S: Update unwind into to match code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99415 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/x86/ffi64.c (ffi_prep_cif_machdep): Save sse-used flag inrth2005-05-053-52/+107
| | | | | | | | | | | | bit 11 of flags. (ffi_call): Mask return type field. Pass ssecount to ffi_call_unix64. (ffi_prep_closure): Set carry bit if sse-used flag set. * src/x86/unix64.S (ffi_call_unix64): Add ssecount argument. Only load sse registers if ssecount non-zero. (ffi_closure_unix64): Only save sse registers if carry set on entry. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99257 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typo in previous patch.corsepiu2005-04-292-2/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98984 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-05-29 Ralf Corsepius <ralf.corsepius@rtems.org>corsepiu2005-04-293-0/+16
| | | | | | | | | * configure.ac: Add i*86-*-rtems*, sparc*-*-rtems*, powerpc-*rtems*, arm*-*-rtems*, sh-*-rtems*. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98983 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): In regsub use,hp2005-04-202-2/+7
| | | | | | | have Tcl8.3-compatible intermediate variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98453 138bc75d-0d04-0410-961f-82ee72b054a4
* Add include/Makefile.in to last entryhp2005-04-181-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98333 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add CRIS support.hp2005-04-1811-24/+737
| | | | | | | | | | | * configure.ac: Likewise. * Makefile.in, configure, testsuite/Makefile.in: Regenerate. * src/cris: New directory. * src/cris/ffi.c, src/cris/sysv.S, src/cris/ffitarget.h: New files. * src/prep_cif.c (ffi_prep_cif): Wrap in #ifndef __CRIS__. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98332 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libffi-dg.exp (libffi-dg-test-1): Replace \n withhp2005-04-182-0/+21
| | | | | | | \r?\n in output tests. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98329 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Regenerate.mrs2005-04-132-1/+66
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@98065 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/ia64/ffitarget.h (ffi_arg): Use long long instead of DI.hboehm2005-03-312-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97303 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/ia64/ffitarget.h (ffi_arg) ADD DI attribute.sje2005-03-303-37/+26
| | | | | | | | | | (ffi_sarg) Ditto. * src/ia64/unix.S (ffi_closure_unix): Extend gp to 64 bits in ILP32 mode. Load 64 bits even for short data. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@97283 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/powerpc/darwin.S: Update for -m64 multilib.mrs2005-03-243-20/+48
| | | | | | | * src/powerpc/darwin_closure.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96967 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.ac: Do not invoke TL_AC_GCC_VERSION.zack2005-03-218-58/+26
| | | | | | | | | | | Do not set tool_include_dir. * aclocal.m4, configure, Makefile.in, testsuite/Makefile.in: Regenerate. * include/Makefile.am: Set gcc_version and toollibffidir. * include/Makefile.in: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@96823 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-22 Andrew Haley <aph@redhat.com>aph2005-02-232-3/+12
| | | | | | | | | PR libffi/20104 * src/powerpc/ffi.c (ffi_prep_cif_machdep): Bump alignment to odd-numbered register pairs for 64-bit integer types. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95455 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-23 Andreas Tobler <a.tobler@schweiz.ch>andreast2005-02-232-0/+47
| | | | | | | | PR libffi/20104 * testsuite/libffi.call/return_ll1.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@95454 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libffi.call/cls_align_longdouble.c: Remove dg-options.janis2005-02-115-4/+7
| | | | | | | | | * testsuite/libffi.call/float.c: Ditto. * testsuite/libffi.call/float2.c: Ditto. * testsuite/libffi.call/float3.c: Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94899 138bc75d-0d04-0410-961f-82ee72b054a4
* 2005-02-08 Andreas Tobler <a.tobler@schweiz.ch>andreast2005-02-082-30/+6
| | | | | | | * src/frv/ffitarget.h: Remove PPC stuff which does not belong to frv. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94747 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libffi.special/special.exp (cxx_options): Addebotcazou2005-01-122-1/+6
| | | | | | | -shared-libgcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@93221 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/types.c (FFI_AGGREGATE_TYPEDEF): Remove.rth2004-12-312-66/+35
| | | | | | | | | (FFI_TYPEDEF): Rename from FFI_INTEGRAL_TYPEDEF. Replace size and offset parameters with a type parameter; deduce size and structure alignment. Update all users. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92775 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/types.c (FFI_TYPE_POINTER): Define with sizeof.rth2004-12-316-857/+957
| | | | | | | | | | | (FFI_TYPE_LONGDOUBLE): Fix for ia64. * src/ia64/ffitarget.h (struct ffi_ia64_trampoline_struct): Move into ffi_prep_closure. * src/ia64/ia64_flags.h, src/ia64/ffi.c, src/ia64/unix.S: Rewrite from scratch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92774 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/x86/unix64.S: Fix typo in unwind info.rth2004-12-272-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92636 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/x86/ffi64.c (struct register_args): Rename from stackLayout.rth2004-12-253-640/+592
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (enum x86_64_reg_class): Add X86_64_COMPLEX_X87_CLASS. (merge_classes): Check for it. (SSE_CLASS_P): New. (classify_argument): Pass byte_offset by value; perform all updates inside struct case. (examine_argument): Add classes argument; handle X86_64_COMPLEX_X87_CLASS. (ffi_prep_args): Merge into ... (ffi_call): ... here. Share stack frame with ffi_call_unix64. (ffi_prep_cif_machdep): Setup cif->flags for proper structure return. (ffi_fill_return_value): Remove. (ffi_prep_closure): Remove dead assert. (ffi_closure_unix64_inner): Rename from ffi_closure_UNIX64_inner. Rewrite to use struct register_args instead of va_list. Create flags for handling structure returns. * src/x86/unix64.S: Remove dead strings. (ffi_call_unix64): Rename from ffi_call_UNIX64. Rewrite to share stack frame with ffi_call. Handle structure returns properly. (float2sse, floatfloat2sse, double2sse): Remove. (sse2float, sse2double, sse2floatfloat): Remove. (ffi_closure_unix64): Rename from ffi_closure_UNIX64. Rewrite to handle structure returns properly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92602 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (AM_MAKEFLAGS): Remove duplicate LIBCFLAGS anddje2004-12-083-4/+6
| | | | | | | | PICFLAG. * Makefile.in: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91905 138bc75d-0d04-0410-961f-82ee72b054a4
* Introduce and use config/gcc-version.m4.rsandifo2004-12-027-13/+38
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91625 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-292-9/+6
| | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. * libjava/configure, libffi/configure, libjava/configure, libobjc/configure, boehm-gc/configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91495 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-252-2/+13
| | | | | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91293 138bc75d-0d04-0410-961f-82ee72b054a4
* * ChangeLog: Remove duplication.danglin2004-11-251-1908/+0
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91265 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-242-9/+6
| | | | | | | | | | | | | | | * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Import linux-gnu case from CVS libtool to always pass_all. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91200 138bc75d-0d04-0410-961f-82ee72b054a4
* * lib/target-libpath.exp: New file defining set_ld_library_path_env_varsdanglin2004-11-242-23/+1915
| | | | | | | | | | | | | | | | | | | | and restore_ld_library_path_env_vars. * g++.dg/compat/compat.exp, lib/g++.exp, lib/gcc-dg.exp, lib/gfortran.exp, lib/objc.exp, lib/treelang.exp: Use new procs. * ada/acats/run_acats (LD_LIBRARY_PATH): Add previous LD_LIBRARY_PATH to LD_LIBRARY_PATH. Export LD_LIBRARY_PATH. * testsuite/lib/libffi-dg.exp: Use new procs in target-libpath.exp. * testsuite/lib/libjava.exp, testsuite/libjava.jacks/jacks.exp: Use new procs in target-libpath.exp. * testsuite/lib/libmudflap.exp: Use new procs in target-libpath.exp. * testsuite/lib/libstdc++.exp: Use new procs in target-libpath.exp. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91137 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr insteadgreen2004-11-232-10/+15
| | | | | | | | | of jal. Use an absolute encoding for the frame information. * configure.host: Enable the interpreter for mips*-*-linux*. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91116 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-11-23 Kelley Cook <kcook@gcc.gnu.org>kcook2004-11-238-609/+499
| | | | | | | | | | | * Makefile.am: Remove no-dependencies. Add ACLOCAL_AMFLAGS. * acinclude.m4: Delete logic for sincludes. * aclocal.m4, Makefile.in, configure: Regenerate. * include/Makefile: Likewise. * testsuite/Makefile: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91073 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/sparc/ffi.c (ffi_prep_closure): Align doubles and 64-bit integersebotcazou2004-11-223-3/+32
| | | | | | | | | on a 8-byte boundary. * src/sparc/v8.S (ffi_closure_v8): Reserve frame space for arguments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91022 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/arm/ffi.c (ffi_prep_cif_machdep): Handle functions that returnrearnsha2004-10-273-74/+175
| | | | | | | | | | | long long values. Round stack allocation to a multiple of 8 bytes for ATPCS compatibility. * src/arm/sysv.S (ffi_call_SYSV): Rework to avoid use of APCS register names. Handle returning long long types. Add Thumb and interworking support. Improve soft-float code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89681 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/lib/libffi-db.exp (load_gcc_lib): New function.rearnsha2004-10-272-1/+23
| | | | | | | | (libffi_exit): New function. (libffi_init): Build the testglue wrapper if needed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89636 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc/testsuite:ebotcazou2004-10-252-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR other/18138 * lib/g++.exp: Accept more than one multilib libgcc. * lib/gcc-dg.exp: Likewise. * lib/objc.exp: Likewise. * lib/treelang.exp: Likewise. * lib/gfortran.exp: Likewise. libffi: PR other/18138 * testsuite/lib/libffi-dg.exp: Accept more than one multilib libgcc. libjava: PR other/18138 * testsuite/lib/libjava.exp: Accept more than one multilib libgcc. libmudflap!: PR other/18138 * testsuite/lib/libmudflap.exp: Accept more than one multilib libgcc. libstdc++-v3: PR other/18138 * testsuite/lib/libstdc++.exp: Accept more than one multilib libgcc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89528 138bc75d-0d04-0410-961f-82ee72b054a4
* (FFII_CLOSURES): Set to 0.nickc2004-10-252-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89527 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/sh/sysv.S (ffi_call_SYSV): Don't align for double data.kkojima2004-10-213-6/+78
| | | | | | | * testsuite/libffi.call/float3.c: New test case. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89366 138bc75d-0d04-0410-961f-82ee72b054a4
* * src/sh/ffi.c (ffi_prep_closure): Set T bit in trampoline forkkojima2004-10-183-6/+60
| | | | | | | | | | the function returning a structure pointed with R2. * src/sh/sysv.S (ffi_closure_SYSV): Use R2 as the pointer to the structure return value if T bit set. Emit position independent code and EH data if PIC. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89254 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Add m32r support.nickc2004-10-1311-39/+533
| | | | | | | | | | | | | | | * configure.ac: Likewise. * Makefile.in: Regenerate. * confiugre: Regenerate. * src/types.c: Add m32r port to FFI_INTERNAL_TYPEDEF (uint64, sint64, double, longdouble) * src/m32r: New directory. * src/m32r/ffi.c: New file. * src/m32r/sysv.S: Likewise. * src/m32r/ffitarget.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88993 138bc75d-0d04-0410-961f-82ee72b054a4
* * testsuite/libffi.call/negint.c: New test case.kkojima2004-10-022-0/+58
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@88421 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-14 H.J. Lu <hongjiu.lu@intel.com>hjl2004-09-142-9/+24
| | | | | | | | | | | PR libgcj/17465 * testsuite/lib/libffi-dg.exp: Don't use global ld_library_path. Set up LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, LD_LIBRARY64_PATH, LD_LIBRARY_PATH_32, LD_LIBRARY_PATH_64 and DYLD_LIBRARY_PATH. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87511 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-05 Andreas Tobler <a.tobler@schweiz.ch>andreast2004-09-046-36/+37
| | | | | | | | | | | | * testsuite/libffi.call/many_win32.c: Remove whitespaces. * testsuite/libffi.call/promotion.c: Likewise. * testsuite/libffi.call/return_ll.c: Remove unused var. Cleanup whitespaces. * testsuite/libffi.call/return_sc.c: Likewise. * testsuite/libffi.call/return_uc.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87091 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-05 Andreas Tobler <a.tobler@schweiz.ch>andreast2004-09-043-49/+54
| | | | | | | | * src/powerpc/darwin.S: Fix comments and identation. * src/powerpc/darwin_closure.S: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@87090 138bc75d-0d04-0410-961f-82ee72b054a4
* 2004-09-02 Andreas Tobler <a.tobler@schweiz.ch>andreast2004-09-025-23/+119
| | | | | | | | | | | | | | | * src/powerpc/ffi_darwin.c: Add flag for longdouble return values. (ffi_prep_args): Handle longdouble arguments. (ffi_prep_cif_machdep): Set flags for longdouble. Calculate space for longdouble. (ffi_closure_helper_DARWIN): Add closure handling for longdouble. * src/powerpc/darwin.S (_ffi_call_DARWIN): Add handling of longdouble values. * src/powerpc/darwin_closure.S (_ffi_closure_ASM): Likewise. * src/types.c: Defined longdouble size and alignment for darwin. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@86992 138bc75d-0d04-0410-961f-82ee72b054a4